-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
jenkins 1.625.1
job-dsl-plugin 1.40
email-ext 2.40.5
CONTRIBUTING.md (DSL Design) states that "Every option should have the same defaults as the UI". This is not the case for the extended email plugin.
When creating an extended email publisher with Job DSL:
job('example') { publishers { extendedEmail('me@halfempty.org', 'Oops', 'Something broken') } }
Pre-send script (under Advanced settings) is left blank.
After creating an "Editable email notification" from the UI the default is: $DEFAULT_PRESEND_SCRIPT
This makes it very easy to create jobs which don't use the system specified script. I can add this using a configure block but it would be better if the Job DSL support had the same defaults as in the UI.
- is related to
-
JENKINS-28986 Improve support for Extended Email Plugin
-
- Closed
-