Re: How to emit XML in Jenkinsfile, and documentation on all Jenkinsfile restrictions?

2016-11-15 Thread David Karr
On Tuesday, November 15, 2016 at 12:32:44 PM UTC-8, Daniel Beck wrote: > > > > On 15.11.2016, at 17:29, David Karr > > wrote: > > > > I also need better understanding of the overall restrictions in a > Jenkinsfile, and perhaps WHY those restrictions are there. > > http://groovy-sandbox.kohsuke

Re: How to emit XML in Jenkinsfile, and documentation on all Jenkinsfile restrictions?

2016-11-15 Thread Daniel Beck
> On 15.11.2016, at 17:29, David Karr wrote: > > I also need better understanding of the overall restrictions in a > Jenkinsfile, and perhaps WHY those restrictions are there. http://groovy-sandbox.kohsuke.org/ https://github.com/jenkinsci/workflow-cps-plugin/#pipeline-groovy-plugin Note that

How to emit XML in Jenkinsfile, and documentation on all Jenkinsfile restrictions?

2016-11-15 Thread David Karr
I'm stepping through implementing required features for our build in a Pipeline job. I've been hitting restrictions on what I can do with Groovy in a Jenkinsfile. Right now, I can't figure out how to just emit valid XML. When I try to use MarkupBuilder, it tells me that I can't use "new Marku