Skip to content

Latest commit

 

History

History
1475 lines (1465 loc) · 112 KB

Home.md

File metadata and controls

1475 lines (1465 loc) · 112 KB

Welcome to the jenkins-job-dsl wiki!

  • The high-level DSL concepts are documented in [[Job DSL Commands]].
  • See the API Viewer for a full syntax reference
  • There are also tips on [[more advanced usage and workflows|User Power Moves]].
  • An introduction to the DSL can be found in a collection of [[Talks and Blog Posts]].
  • The forum has lots of information, some of which is making its way to the [[FAQ|Frequently Asked Questions]].
  • If you want to get more involved, here's how to contribute...

Getting Started

Highly recommended starting point is [[the tutorial|Tutorial - Using the Jenkins Job DSL]].

Once you know how to create a "seed" job from the tutorial, start looking at the [[real world examples|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.

Instead of creating a seed job manually, the Configuration as Code plugin can be used to execute Job DSL scripts. See [[JCasC]] for details.

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|The 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|Testing DSL Scripts]] and [[IDE Support]].

Browse the Jenkins issue tracker to see any open issues.

Release Notes