Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: job-dsl-plugin
Created: 05/Jan/15 12:18 AM
Description:

Using the job-dsl-plugin to generate a maven job leads to Jenkins warning (on the 'manage' screen) that the job config is incorrect. The exact error is:

MissingFieldException: No field 'perModuleEmail' found in class 'hudson.maven.MavenModuleSet'

(Jenkins only checks for this as startup, so after generating the job you may have to reload the config from disk or restart jenkins to see the message)

This appears to be because the plugin adds 'perModuleEmail' to the top-level config, but as of JENKINS-21045 the location of this config has changed to be stored as a separate item instead of using the generic mailer job:

<reporters>
<hudson.maven.reporters.MavenMailer>
<recipients></recipients>
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>true</sendToIndividuals>
<perModuleEmail>false</perModuleEmail>
</hudson.maven.reporters.MavenMailer>
</reporters>

This is just cosmetic, though.

There's also no built-in way to set up this config within the plugin

Project: Jenkins
Priority: Trivial Trivial
Reporter: Bradley Baetz
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/d/optout.

Reply via email to