Hyphen
Hyphen

Reputation: 662

How to convert Jenkins UI to Jenkins DSL?

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

Answers (1)

K. B.
K. B.

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

Related Questions