[JIRA] [timestamper] (JENKINS-16778) Timestamper makes the build fail if the slave if put offline during the build.

2013-05-04 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-16778


Timestamper makes the build fail if the slave if put offline during the build.















Code changed in jenkins
User: StevenGBrown
Path:
 src/main/java/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory.java
http://jenkins-ci.org/commit/timestamper-plugin/8317afcb23693e91b21e2330577dcba2db2d1058
Log:
  Merge pull request #3 from jdewinne/master

JENKINS-16778: Timestamper makes the build fail if the slave is put offline during the build.


Compare: https://github.com/jenkinsci/timestamper-plugin/compare/09ec70200054...8317afcb2369




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [subversion] (JENKINS-12670) "Double Build" Polling Issue with Subversion Plugin

2013-05-04 Thread ku...@gmx.de (JIRA)















































kutzi
 resolved  JENKINS-12670 as Not A Defect


"Double Build" Polling Issue with Subversion Plugin
















The problem is that the methods to determine changes are not quite consistent between polling and the actual builds. This is a known shortcoming of the Jenkins/subversion-plugin. It's not easy to fix without causing other issues. However, synchronising the time is an easy way to remedy it.





Change By:


kutzi
(04/May/13 9:52 PM)




Status:


Open
Resolved





Resolution:


Not A Defect



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-17681) LastSuccessful and LastStable symlinks are invalid under Windows

2013-05-04 Thread imakow...@gmail.com (JIRA)














































Ireneusz Makowski
 commented on  JENKINS-17681


LastSuccessful and LastStable symlinks are invalid under Windows















when this will be released to LTS? where can I download it?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [warnings] (JENKINS-17309) XML escaping (or lack thereof)

2013-05-04 Thread i...@tatura.net (JIRA)















































tatura
 assigned  JENKINS-17309 to tatura



XML escaping (or lack thereof)
















Change By:


tatura
(04/May/13 8:44 PM)




Assignee:


Ulli Hafner
tatura



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [analysis-core] (JENKINS-17196) Add an action that allows to reset the reference build

2013-05-04 Thread i...@tatura.net (JIRA)















































tatura
 assigned  JENKINS-17196 to tatura



Add an action that allows to reset the reference build
















Change By:


tatura
(04/May/13 8:43 PM)




Assignee:


Ulli Hafner
tatura



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [analysis-core] (JENKINS-17169) Add navigation support using the context menu

2013-05-04 Thread i...@tatura.net (JIRA)















































none
 assigned  JENKINS-17169 to none



Add navigation support using the context menu
















Change By:


none
(04/May/13 8:37 PM)




Assignee:


Ulli Hafner
none



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [subversion] (JENKINS-12670) "Double Build" Polling Issue with Subversion Plugin

2013-05-04 Thread s...@littleprojects.org (JIRA)














































Shawn M. Jones
 commented on  JENKINS-12670


"Double Build" Polling Issue with Subversion Plugin















I apologize for not updating this ticket.

Our problem was the time sync.  We not ensure that the SVN and Jenkins servers are using the same NTP server.  At the time I posted this, we did not control our SVN server, and could not make that happen, but now we're ok.

I understand that Jenkins wouldn't want to build code from the future because it can have ramifications on your CM processes, but what actually causes this problem with Jenkins?  The "double builds" are a really strange symptom of time differences.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [subversion] (JENKINS-12670) "Double Build" Polling Issue with Subversion Plugin

2013-05-04 Thread s...@littleprojects.org (JIRA)












































  
Shawn M. Jones
 edited a comment on  JENKINS-12670


"Double Build" Polling Issue with Subversion Plugin
















I apologize for not updating this ticket.

Our problem was the time sync.  We now ensure that the SVN and Jenkins servers are using the same NTP server.  At the time I posted this, we did not control our SVN server, and could not make that happen, but now we're ok.

I understand that Jenkins wouldn't want to build code from the future because it can have ramifications on your CM processes, but what actually causes this problem with Jenkins?  The "double builds" are a really strange symptom of time differences.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [scm-sync-configuration] (JENKINS-17545) A new default include creates unwanted commits (without config changes).

2013-05-04 Thread met...@gmail.com (JIRA)














































Mathieu Bernatet
 commented on  JENKINS-17545


A new default include creates unwanted commits (without config changes).















I'm also facing this issue with Jenkins 1.480.2 and scm-sync-config 0.0.7. Using SVN or Git doesn't change anything.
The bug seems relating to the use of the method DirectoryScanner.match() in PatternsEntityMatcher.matches(). 
The inclusion of DirectoryScanner.match() in DirectoryScanner is misleading because it doesn't behave as the class may suggest. For this method '*' means zero or more characters in the full path and not by segment.
Following Junit test will fail whatever version of Ant:

import static org.junit.Assert.*;

import org.apache.tools.ant.DirectoryScanner;
import org.junit.Test;

public class DirectoryScannerTest {

	@Test
	public void test() {
		assertFalse(DirectoryScanner.match("jobs/*/config.xml", "jobs/parent/modules/module/config.xml"));
	}

}



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification















Code changed in jenkins
User: Alex Earl
Path:
 src/main/java/hudson/plugins/emailext/EmailRecipientUtils.java
http://jenkins-ci.org/commit/email-ext-plugin/54664c8f76136e80d05bf96493cb1baa7d1f78a1
Log:
  Merge pull request #66 from sgri/master

Improved logging to figure out how to fix https://issues.jenkins-ci.org/browse/JENKINS-16332


Compare: https://github.com/jenkinsci/email-ext-plugin/compare/a04e05c9553e...54664c8f7613




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification















Code changed in jenkins
User: Sergey Grigoriev
Path:
 src/main/java/hudson/plugins/emailext/EmailRecipientUtils.java
http://jenkins-ci.org/commit/email-ext-plugin/51174890104c9a225577f01c2ed96e0f3177375e
Log:
  Log a user's email to figure out why https://issues.jenkins-ci.org/browse/JENKINS-16332 happens.





























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-11983) Allow users to manually define job relationships to (in my case) prevent concurrent builds

2013-05-04 Thread toni....@gmail.com (JIRA)















































Toni Van de Voorde
 resolved  JENKINS-11983 as Not A Defect


Allow users to manually define job relationships to (in my case) prevent concurrent builds
















Actually I discovered the Throttle plugin some time ago, but completely forgot that I posted an issue here. So I confirm that it works with that plugin.





Change By:


Toni Van de Voorde
(04/May/13 4:21 PM)




Status:


Open
Resolved





Resolution:


Not A Defect



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)














































Sergey Grigoriev
 updated  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















Change By:


Sergey Grigoriev
(04/May/13 4:19 PM)




Assignee:


Jesse Glick





Affects Version/s:


current



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [config-file-provider] (JENKINS-17723) mark maven settings / global settings as default for new jobs

2013-05-04 Thread d...@fortysix.ch (JIRA)














































domi
 commented on  JENKINS-17723


mark maven settings / global settings as default for new jobs















I'm working on this here: https://github.com/imod/jenkins/tree/default-maven-settings
But I have issue to default a SettingsProvider in the Maven Builder - everything is working fine in the Maven Project, but the Builder ignores whatever I try to define as a default.
Any help appreciated...



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [config-file-provider] (JENKINS-17723) mark maven settings / global settings as default for new jobs

2013-05-04 Thread d...@fortysix.ch (JIRA)














































domi
 started work on  JENKINS-17723


mark maven settings / global settings as default for new jobs
















Change By:


domi
(04/May/13 3:41 PM)




Status:


Open
In Progress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [scripttrigger] (JENKINS-17566) Severe polling error when using script trigger

2013-05-04 Thread theta...@java.net (JIRA)














































thetaphi
 commented on  JENKINS-17566


Severe polling error when using script trigger















Hi,
I think the main problem here is:

	the plugin should have an option to run the script on the master node only
	the script should be completely independent on the status of nodes: The script should run on master node with complete access to the job and should only trigger a build of the job depending on script execution result on jenkins master



If this is not an intended use-case of this plugin it is not the right plugin to make the requirement work, so I have no use case for it and need to uninstall it and find another solution to trigger jobs



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [m2release] (JENKINS-17856) Cannot find svn

2013-05-04 Thread mar...@headcrashing.eu (JIRA)














































Markus KARG
 commented on  JENKINS-17856


Cannot find svn















Would be great if you could add a clear note on the plugin's web page that to use it with SVN, it is essential to manually install SVN on the master and all server nodes, or the above message will appear. I think I am not the only one that did not know that the Jenkins-distributed MVN does not use the same SVN implementation that Jenkins uses! 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















Another incident happened in Jenkins 1.511. The build was triggered by an SCM change (Mercurial), culrprits have received emails, but the commiter didn't recieve the email because Jenkins appended leading and trailing underscores to his email address

Apr 20, 2013 5:22:04 PM hudson.plugins.emailext.ExtendedEmailPublisher addAddressesFromRecipientList
WARNING: Could not create email address.
javax.mail.internet.AddressException: Domain contains illegal character in string ``_developer@.com_''
at javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:1269)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:1091)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:633)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:610)
at hudson.plugins.emailext.EmailRecipientUtils.convertRecipientString(EmailRecipientUtils.java:33)
at hudson.plugins.emailext.ExtendedEmailPublisher.addAddressesFromRecipientList(ExtendedEmailPublisher.java:706)
at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:522)
at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:304)
at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:296)
at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:256)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:802)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:774)
at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
at hudson.model.Run.execute(Run.java:1620)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:237)































This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)














































Sergey Grigoriev
 updated  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















Attached Jenkins system information





Change By:


Sergey Grigoriev
(04/May/13 11:37 AM)




Attachment:


System Information [Jenkins].html



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)














































Sergey Grigoriev
 commented on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification















This bug was introduced when extracting sending mails to the "mailer plugin"



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


import java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}  resolved to  ${MailAddressResolver.resolve(it)}"  
}


it prints

Igor Ivanov _igor12345@yahoo.com_ -- igor12...@yahoo.com resolved to igor12...@yahoo.com
John Doe  _dev@xyz.com_ -- John Doe  _dev@xyz.com_ resolved to John Doe  _dev@xyz.com_  



So the user object for which Jenkins uses a wrong email, has a different value for email than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)














































Sergey Grigoriev
 updated  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I don't think that this bug is mercurial-specific, the script shows that the problem is that Jenkins cannot detect a user's email by user's id, even though the email is the part of the id.





Change By:


Sergey Grigoriev
(04/May/13 11:07 AM)




Component/s:


core





Component/s:


mercurial



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


import java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}"  
}


it prints

Igor Ivanov _igor12345@yahoo.com_ -- igor12...@yahoo.com
John Doe  _dev@xyz.com_ -- John Doe  _dev@xyz.com_



So the user object for which Jenkins uses a wrong email, has a different value for email than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


Unable to find source-code formatter for language: groovy. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, javaimport java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}"  
}


it prints

Igor Ivanov _igor12345@yahoo.com_ -- igor1...@yahoo.com
John Doe  _dev@xyz.com_ -- John Doe  _dev@xyz.com_



So the user object for which Jenkins uses a wrong email, has a different value for email than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


import java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}"  
}


it prints

Igor Ivanov _igor12345@yahoo.com_ -- igor1...@yahoo.com
John Doe  _dev@xyz.com_ -- John Doe  _dev@xyz.com_



So the user object for which Jenkins uses a wrong email, has a different value for email than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


Unable to find source-code formatter for language: groovy. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, javaimport java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}"  
}


it prints

Igor Ivanov _igor12345@yahoo.com_ -- igor1...@yahoo.com
John Doe  _dev@xyz.com_ -- John Doe  _dev@xyz.com_



So the user object for which Jenkins uses a wrong email, returns a different value than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















I have run a script in Jenkins console 


Unable to find source-code formatter for language: groovy. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, javaimport java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

build.culprits.each {   
  def userMailProp = it.properties.find { it.toString().contains('Mailer') }.value	
  println "${it.id} -- ${userMailProp.address}"  
}


it prints

Igor Ivanov igor12...@yahoo.com – igor1...@yahoo.com
John Doe  d...@xyz.com – John Doe  d...@xyz.com

So the user object for which Jenkins uses a wrong email, returns a different value than normal users, see hudson.tasks.Mailer.UserProperty#getAddress.
For normal users getAddress returns email, while for John Doe not email, but user's id is returned.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)












































  
Sergey Grigoriev
 edited a comment on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification

















Unable to find source-code formatter for language: groovy. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, javaimport java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

def userWithWrongEmail = User.get('John Doe')
println  userWithWrongEmail 
def userMailProp = userWithWrongEmail.properties.find { it.toString().contains('Mailer') }.value
userMailProp.address.getAddress()


evaluates to "John Doe" which indicates that the user doesn't have a correct email property



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [mercurial] (JENKINS-16332) Leading and trailing underscores are added to commiters email address, unable to send build notification

2013-05-04 Thread s.a.grigor...@gmail.com (JIRA)














































Sergey Grigoriev
 commented on  JENKINS-16332


Leading and trailing underscores are added to commiters email address, unable to send build notification
















Unable to find source-code formatter for language: groovy. Available languages are: _javascript_, sql, xhtml, actionscript, none, html, xml, javaimport java.util.logging.Logger
import java.util.logging.Level;
import hudson.model.*
import hudson.plugins.emailext.EmailRecipientUtils  
import hudson.tasks.MailAddressResolver  
import hudson.model.User  
  
def mailAddressResolverLogger = Logger.getLogger(MailAddressResolver.class.getName());
mailAddressResolverLogger.setLevel(Level.FINE)


def job = Hudson.instance.getJob("sms-dev-jdk7");  
def build = job.getBuild("46")

def userWithWrongEmail = User.get('John Doe')
println  userWithWrongEmail 
def userMailProp = userWithWrongEmail.properties.find { it.toString().contains('Mailer') }.value
userMailProp.address.getAddress()


evaluates to "John Doe"



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [scripttrigger] (JENKINS-17566) Severe polling error when using script trigger

2013-05-04 Thread theta...@java.net (JIRA)














































thetaphi
 reopened  JENKINS-17566


Severe polling error when using script trigger
















Still same problem with latest version.

I have seen your changes, but I am not sure what those intend to do (I have no properties file set...).


[ScriptTrigger] - Poll with a Groovy script

Polling started on May 4, 2013 9:38:01 AM
Polling for the job Lucene-Solr-trunk-Windows
Looking nodes where the poll can be run.
Looking for a candidate node to run the poll.
Trying to find an eligible node with the assigned project label windows.
Can't find any eligible nodes.
Trying to poll on master node.

Polling on master.
[ERROR] - Polling error...



Is there no possibility in scripttrigger to make the plugin execute the polling script on the master (something like a checkbox: [X] always run script on master node).





Change By:


thetaphi
(04/May/13 9:43 AM)




Resolution:


Fixed





Status:


Resolved
Reopened



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [core] (JENKINS-9637) Problems with "Latest Test Result" and "Aggregated Test Result" links

2013-05-04 Thread ever...@free.fr (JIRA)














































evernat
 commented on  JENKINS-9637


Problems with "Latest Test Result" and "Aggregated Test Result" links















Is it reproduced with a recent Jenkins version?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [flexible-publish] (JENKINS-14475) Conditional build steps should be available as post-build actions

2013-05-04 Thread 0xcdcdc...@gmx.at (JIRA)














































Martin  Ba
 commented on  JENKINS-14475


Conditional build steps should be available as post-build actions















As for

if $some_build_param = "true"
trigger a downstream build with parameters
end



– Shouldn't this be doable with the ParamTriggerPlugin? You can have the parameters for the downstream job loaded from a properties file, and you can use this file as "condition", with teh checkbox that doesn't trigger if the file's missing.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [subversion] (JENKINS-12670) "Double Build" Polling Issue with Subversion Plugin

2013-05-04 Thread ku...@gmx.de (JIRA)














































kutzi
 updated  JENKINS-12670


"Double Build" Polling Issue with Subversion Plugin
















Change By:


kutzi
(04/May/13 8:22 AM)




Due Date:


10/May/13



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.
 
 


[JIRA] [subversion] (JENKINS-12670) "Double Build" Polling Issue with Subversion Plugin

2013-05-04 Thread ku...@gmx.de (JIRA)














































kutzi
 commented on  JENKINS-12670


"Double Build" Polling Issue with Subversion Plugin















Mathieu, this issue is specifically about the subversion plugin. If you have a similar problem with the git plugin, that is still a different issue.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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/groups/opt_out.