Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vvignesh1989 opened this issue Feb 15, 2017 · 0 comments
Open

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

vvignesh1989 opened this issue Feb 15, 2017 · 0 comments

Comments

@vvignesh1989
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant