The problem is that startsWithParameters calls the new startsWithParameters method of BuildPipelineView which then internally adds a new WithXmlAction and that causes the ConcurrentModificationException.

To avoid this, the startsWithParameters element name in the configure block should be quoted:

...
    configure { pipelineNode ->
        pipelineNode << {
            'startsWithParameters'(true)
        }
    }
...

This will happen for other element names when a method with the same name exists in the scope. I'm not sure if changing the closures resolution strategy will help or break other things.

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