Category Blogs  
By:  Thierry Lacour  
On: Friday, September 18. 2015

Job DSL'ification!

Enabling Jenkins jobs as code through adding support for Jenkins Job DSL

With the rising popularity of the Jenkins Job DSL, used to easily configure Jenkins jobs without having to wade through the UI swamp, we have decided to add support for the DSL in our plugins.

Now you don’t have to rely on the bombastic configure block to add our plugins to your Jenkins Job DSL scripts.

Here’s a short and sweet example of the result, showing off how to fully configure for instance the Pretested Integration for a job:


Pretty neat, huh?

For documentation on how to configure our plugins using the Jenkins Job DSL, please refer to the wikis of the individual plugins. Efforts will be made to move the documentation to the

Jenkins Job DSL GitHub Wiki, where the bulk of the information regarding the Jenkins Job DSL can be found.

Jenkins Job DSL support has been added for the following plugins:

Let’s not be careful out there - go play!