-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
Version 1.3 of the join plugin seems to break the E-mail Notification Post-Build
Action field in job configuration. To reproduce:
1- Installe join-plugin 1.3
2- Configure a job
3- Enable and set some recipients for the E-mail Notification Post-build Action
4- Click Save
5- Configure the same job
6- The recipients are gone
I'm not completely convinced the issue has to do with the join-plugin, but by
configuring Hudson's plugins and disabling the join-plugin, the above steps will
not clear email recipients.
This issue is caused by a combination of the latest join plugin and the way the
email post-build action is written. Since the parameterized-trigger plugin
essentially required a general purpose post-join section, i threw in the email
post-build action as well. Unfortunately, the email action was written long
ago, and does not handle composability well.
The short term solution is to remove the email post-build action from the
post-join list. But the more correct solution is to change the email
post-build action to support composability. Basically, use JSON to read in the
configuration data, instead of directly pulling values out of the server request
object.