[jbosstools-issues] [JBoss JIRA] (JBIDE-13040) Enable individual emails in Jenkins based on Git changes

Nick Boldt (JIRA) jira-events at lists.jboss.org
Sat Nov 17 15:35:27 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735058#comment-12735058 ] 

Nick Boldt edited comment on JBIDE-13040 at 11/17/12 3:34 PM:
--------------------------------------------------------------

Does not work, even when there are github changes recorded, eg:

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.target-platforms.minimum/91/changes}
Changes
Summary

    upversion TP definitions.... because damn this sucks (commit: 748404c5c63bb2ac73f0bdee0a0b389d4449b02f) (details)

Commit 748404c5c63bb2ac73f0bdee0a0b389d4449b02f by nickboldt

upversion TP definitions.... because damn this sucks
 (commit: 748404c5c63bb2ac73f0bdee0a0b389d4449b02f)

The file was modified	target-platforms/jbosstools-JunoSR0c/multiple/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR1a/unified/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR0c/local/pom.xml
The file was modified	target-platforms/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR1a/jenkins/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR1a/multiple/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR1a/local/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR0c/jenkins/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR0c/multiple/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR1a/local/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR1a/jenkins/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR0c/unified/pom.xml
The file was modified	target-platforms/jbosstools-JunoSR0c/unified/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR1a/multiple/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR0c/jenkins/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR1a/unified/pom.xml
The file was modified	target-platforms/jbdevstudio-JunoSR0c/local/pom.xml
{code}

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.target-platforms.minimum/jobConfigHistory/showDiffFiles?histDir1=%2Fqa%2Fhudson_master%2Fhudson_home%2Fhudson_workspace%2Fjobs%2Fjbosstools-4.0_trunk.target-platforms.minimum%2Fconfig-history%2F2012-11-16_20-10-32&histDir2=%2Fqa%2Fhudson_master%2Fhudson_home%2Fhudson_workspace%2Fjobs%2Fjbosstools-4.0_trunk.target-platforms.minimum%2Fconfig-history%2F2012-11-17_12-02-55}
      <sendToIndividuals>true</sendToIndividuals>
{code}


Results in:

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.target-platforms.minimum/91/console}
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.604s
[INFO] Finished at: Fri Nov 16 21:53:35 EST 2012
[INFO] Final Memory: 17M/229M
[INFO] ------------------------------------------------------------------------
ERROR: Publisher hudson.tasks.Mailer aborted due to exception
java.lang.RuntimeException: No author in changeset 42d4291ad92443a6225c8cec97427a3c3f567359
	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:249)
	at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:357)
	at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1383)
	at hudson.model.User.getProjects(User.java:402)
	at hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor(SubversionMailAddressResolverImpl.java:20)
	at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
	at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:495)
	at hudson.tasks.MailSender.buildCulpritList(MailSender.java:408)
	at hudson.tasks.MailSender.createEmptyMail(MailSender.java:368)
	at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:190)
	at hudson.tasks.MailSender.getMail(MailSender.java:181)
	at hudson.tasks.MailSender.execute(MailSender.java:115)
	at hudson.tasks.Mailer.perform(Mailer.java:110)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
	at hudson.model.Build$RunnerImpl.post2(Build.java:162)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619)
	at hudson.model.Run.run(Run.java:1429)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:238)
Condition: 'build result equal or over UNSTABLE' not met. Triggering skipped.
Condition: 'build result equal or over UNSTABLE' not met. Triggering skipped.
Notifying upstream projects of job completion
Finished: FAILURE
{code}

                
      was (Author: nickboldt):
    Does not work.

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.target-platforms.minimum/jobConfigHistory/showDiffFiles?histDir1=%2Fqa%2Fhudson_master%2Fhudson_home%2Fhudson_workspace%2Fjobs%2Fjbosstools-4.0_trunk.target-platforms.minimum%2Fconfig-history%2F2012-11-16_20-10-32&histDir2=%2Fqa%2Fhudson_master%2Fhudson_home%2Fhudson_workspace%2Fjobs%2Fjbosstools-4.0_trunk.target-platforms.minimum%2Fconfig-history%2F2012-11-17_12-02-55}
      <sendToIndividuals>true</sendToIndividuals>
{code}


Results in:

{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-4.0_trunk.target-platforms.minimum/91/console}
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.604s
[INFO] Finished at: Fri Nov 16 21:53:35 EST 2012
[INFO] Final Memory: 17M/229M
[INFO] ------------------------------------------------------------------------
ERROR: Publisher hudson.tasks.Mailer aborted due to exception
java.lang.RuntimeException: No author in changeset 42d4291ad92443a6225c8cec97427a3c3f567359
	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:249)
	at hudson.model.AbstractBuild.hasParticipant(AbstractBuild.java:357)
	at hudson.model.AbstractProject.hasParticipant(AbstractProject.java:1383)
	at hudson.model.User.getProjects(User.java:402)
	at hudson.scm.SubversionMailAddressResolverImpl.findMailAddressFor(SubversionMailAddressResolverImpl.java:20)
	at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:100)
	at hudson.tasks.Mailer$UserProperty.getAddress(Mailer.java:495)
	at hudson.tasks.MailSender.buildCulpritList(MailSender.java:408)
	at hudson.tasks.MailSender.createEmptyMail(MailSender.java:368)
	at hudson.tasks.MailSender.createBackToNormalMail(MailSender.java:190)
	at hudson.tasks.MailSender.getMail(MailSender.java:181)
	at hudson.tasks.MailSender.execute(MailSender.java:115)
	at hudson.tasks.Mailer.perform(Mailer.java:110)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
	at hudson.model.Build$RunnerImpl.post2(Build.java:162)
	at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:619)
	at hudson.model.Run.run(Run.java:1429)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:238)
Condition: 'build result equal or over UNSTABLE' not met. Triggering skipped.
Condition: 'build result equal or over UNSTABLE' not met. Triggering skipped.
Notifying upstream projects of job completion
Finished: FAILURE
{code}

                  
> Enable individual emails in Jenkins based on Git changes
> --------------------------------------------------------
>
>                 Key: JBIDE-13040
>                 URL: https://issues.jboss.org/browse/JBIDE-13040
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Build/Releng
>            Reporter: Mickael Istria
>            Assignee: Mickael Istria
>            Priority: Minor
>             Fix For: 4.0.0.CR1
>
>
> Now we have moved to Git, we can probably re-enable individual mailing from Jenkins. Previous issue appeared to be an issue with SVN plugin, which we don't use any longer.

--
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


More information about the jbosstools-issues mailing list