jenkins-xml-to-jobdsl icon indicating copy to clipboard operation
jenkins-xml-to-jobdsl copied to clipboard

DSL isn't generated properly for my Job's config.xml

Open vvignesh1989 opened this issue 8 years ago • 0 comments

First I would like to thank you for your wonderful work.

I'm totally new to groovy and my requirement is to convert Jenkins jobs to DSL scripts,came across your work and followed the instructions as given in your page.

While trying to convert my job to dsl , using the following command :

root@7e8b90a7c004:/home/mine/dsl/jenkins-xml-to-jobdsl# ruby jenkins-xml-to-jobdsl.rb tests/pipeline-example/config.xml

The command was successful and dsl got generated but seems to be incomplete . While I tried the generated DSL in the Jenkins, I'm facing multiple syntax issues as well as a chunk of modules is missing from the generated dsl, like no information on Checkstyle, e-mail sections ..

I'm attaching my config.xml as well as the generated dsl (out.txt) . I'm looking forward for your help here.

Jenkins version - 2.32 DSL PLugin - 1.51 Ubuntu - 14.04

(config.xml is attached in zip format) out.txt config.zip

Thanks in advance.

Regards, Sapz

vvignesh1989 avatar Feb 15 '17 08:02 vvignesh1989