Issue Type: Bug Bug
Assignee: Daniel Spilker
Components: job-dsl-plugin
Created: 21/Feb/15 8:41 PM
Description:

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>
Environment: Job DSL 1.29
Project: Jenkins
Priority: Major Major
Reporter: Daniel Spilker
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to