Daniel Spilker edited this page Jul 3, 2018 · 155 revisions

Welcome to the jenkins-job-dsl wiki!

Getting Started

Highly recommended starting point is the tutorial.

Once you know how to create a "seed" job from the tutorial, start looking at the real world examples for examples to steal from. After you get familiar with some of the commands, try them out at the Job DSL Playground.

Job DSL provides a secure environment for executing DSL scripts. See Script Security for details.

Not all of the 1000+ Jenkins plugins are supported by the built-in DSL. If the API Viewer does not list support for a certain plugin, the Dynamic DSL can be used to fill the gap.

If you want to get fancy you'll want to read up on configure block, which gives you direct access to the config.xml.

Have a look at Jenkins Job DSL Gradle example or Job DSL Sample to see how to organize a SCM repository for Job DSL scripts, including tests for DSL scripts and IDE Support.

Browse the Jenkins issue tracker to see any open issues.

Release Notes

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.