[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-09 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen commented on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 
After reading and rereading your question about adding pmt_attachment, I have a better sense of what the pmt_* variables are now. And I understand now what you meant by "the plugin will just inject the `pmt_attachmentsDirectory` variable straight into the job for you". Sorry, I'm a little new to configuring jobs in Jenkins. When I added my own pmt_attachmentDirectory property into the Advanced Email Properties box, it overwrote the exact information that I was trying to get at – the timestamp-named directory in which the attachments were downloaded into. I thought the pmt_* variables were user defined input variables into your plugin code. They are actually output variables from your plugin code and are made available as input to user-defined scripts, i.e. perl testme.pl %pmt_attachmentDirectory%. 
In any case, the changes that you are currently making are worthwhile and will make the plugin more robust. On the question of whether or not to add the pmt_attachment or not, I wouldn't bother. I would leave that up to the user to extract that information using a script. It's an easy enough algorithm to loop through the contents of a directory using a half decent scripting language. Looping through an undefined length of pmt_attachment_n variables requires a bit more involved algorithm.  
Thanks a million for being generous enough to share your work! Fantastic plugin! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-09 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen commented on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 
Yeah, that screen shot looks awesome. You rock! Looking forward to the changes. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [_unsorted] (JENKINS-33429) Can't change my password

2016-03-09 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-33429 
 
 
 
  Can't change my password  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Oleg Nenashev 
 
 
 

Components:
 

 _unsorted 
 
 
 

Created:
 

 09/Mar/16 4:13 PM 
 
 
 

Environment:
 

 Firefox 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Justin Nguyen 
 
 
 
 
 
 
 
 
 
 
I just created a login for jenkins-ci.org yesterday and can't seem to find a way to change my temp password. I googled how one would go about it and found that I should go to my Profile and select Change Password on the left hand nav panel. However, the only option I have on the left hand side is "Test Session" link. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
  

[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-08 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen commented on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 
 

be able to turn on/off downloading attachments in the plugin configuration? Yes, it would be nice to be able to turn it off in cases when all you are looking for are some key words in the subject line or email body to trigger the build. It there's an attachment that you don't care about, you don't want to a pile of useless attachments building up in a folder somewhere on your filesystem. 
 

be able to specify a target directory in the plugin configuration OR just use the "java.io.tmpdir" location? Yes, would love to see the ability to specify a target directory as a job configuration property. Also would be nice to allow the user to specify the path on a job by job basis if possible. There could be multiple jobs using this plugin concurrently, each receiving an attachment with potentially the same name. If they all went into the same folder, you could imagine how confusing it would get, even with the uniquely timestamped folder names.  And to be able to do it through the Jenkins web interface instead of having to open up an .ini or .properties file to change java.io.tmpdir would be great. 
 

do you want the attachments to download into the configured directory (overwriting files with the same name) OR should it create subfolders using a date timestamp (e.g. `parentFolder/MMdd-HHmmssSSS/`)? So I'm using Perl scripts to process the attachment. In my particular case, I would like to be able to specify a static directory name in which my Perl script will know exactly where to find the attachment. I understand your approach to name the folders with the timestamp to avoid overwriting, but it introduces an element of unpredictability for me – I would have to loop through a number of folder to find the file that I'm looking for, assuming we have multiple different jobs running concurrently using this plugin and depositing their misc attachments into the same temp dir. I don't know which timestamp-named folder to look into that has my attachment. It would be nice if you had a user-defined property pmt_overwriteAttachment, which if set to 'yes', would overwrite the attachment in the specified folder. If set to 'no', maybe you could do something like what you're doing now, but name the folder by adding the timestamp to the end of the filename, i.e. helloworld.pdf-143559433. It would help to make things a little bit more predictable when scripting and not have to do a linear iteration through all of the plainly timestamp-named folders.   But to make things simple for you, I think most users would be fine to have the files overwritten each time something new comes in with the same name. Make them pay for the premium version of the plugin if they want something more elaborate.  
 
 
 
 
 
 
 
 
 
 
 
 
 
 

   

[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-08 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen edited a comment on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 After downloading your prebuilt patch and uploading it to Jenkins, I added 'pmt_attachmentsDirectory' to my job parameter list by adding 'attachmentsDirectory=c:\testFolder' to the Advanced Email Properties.  The parameter is read and shows up in the build's Parameters list after running the job.  However, it doesn't seem to respect the value assigned to it, e.g. 'c:\testFolder'.  I saw that it dumped the attachment into the 'C:\apache-tomcat-8.0.29\temp\ \ [some hashed named folder]\' but did not put it into the c:\testFolder.  Incidentally, I did also try different variations, e.g. ".\testFolder" and ".", but none of them seemed to work.Also, I did not uninstall version 1.021 before installing your prebuilt patch.  Maybe that is the reason for the issue I'm having?btw, great plugin!  Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-08 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen edited a comment on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 After downloading your prebuilt patch and uploading it to Jenkins, I added 'pmt_attachmentsDirectory' to my job parameter list by adding 'attachmentsDirectory=c:\testFolder' to the Advanced Email Properties.  The parameter is read and shows up in the build's Parameters list after running the job.  However, it doesn't seem to respect the value assigned to it, e.g. 'c:\testFolder'.  I saw that it dumped the attachment into the 'C:\apache-tomcat-8.0.29\temp\ \ [some hashed named folder]\' but did not put it into the c:\testFolder.  Incidentally, I did also try different variations, e.g. ".\testFolder" and ".", but none of them seemed to work.Also, I did not uninstall version 1.021 before installing your prebuilt patch.  Maybe that is the reason for the issue I'm having?btw, great plugin!  Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [poll-mailbox-trigger-plugin] (JENKINS-27575) Please add possibility to handle the attachment of mail to this plugin

2016-03-08 Thread justin.ngu...@austintexas.gov (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Justin Nguyen commented on  JENKINS-27575 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Please add possibility to handle the attachment of mail to this plugin  
 
 
 
 
 
 
 
 
 
 
After downloading your prebuilt patch and uploading it to Jenkins, I added 'pmt_attachmentsDirectory' to my job parameter list by adding 'attachmentsDirectory=c:\testFolder' to the Advanced Email Properties. The parameter is read and shows up in the build's Parameters list after running the job. However, it doesn't seem to respect the value assigned to it, e.g. 'c:\testFolder'.  
I saw that it dumped the attachment into the 'C:\apache-tomcat-8.0.29\temp[some hashed named folder]\' but did not put it into the c:\testFolder. Incidentally, I did also try different variations, e.g. ".\testFolder" and ".", but none of them seemed to work. 
Also, I did not uninstall version 1.021 before installing your prebuilt patch. Maybe that is the reason for the issue I'm having? 
btw, great plugin! Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.