Reputation: 662
I need Jenkins DSL for purpose of code versioning. I have seen that there is plugin which allows to convert jobs from groovy code to UI.
Since I have all jobs written in Jenkins UI I am wondering if there is some way to do it the other so that I will get groovy scripts from Jenkins UI jobs?
Upvotes: 2
Views: 1398
Reputation: 3690
There is a plugin XML Job to Job DSL. Each Jenkins UI job has config.xml in the file system. I have not used the plugin myself as I have converted Jenkins jobs to script manually.
Upvotes: 3