-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Job DSL 1.29
The configure block of the extendedEmail publisher behaves different than other configure blocks.
In the following example DSL script, the top-level configure block produces different XML than the extendedEmail configure block.
test = 123 job { name('foo') publishers { extendedEmail('foo', 'bar') { configure { it / foo(test) } } } configure { it / foo(test) } }
The top-level configure block produces <foo>123</foo> whereas the extendedEmail configure block produces <foo>test</foo>.
<project> ... <publishers> <hudson.plugins.emailext.ExtendedEmailPublisher> ... <foo>test</foo> </hudson.plugins.emailext.ExtendedEmailPublisher> </publishers> ... <foo>123</foo> </project>