This Jenkins plugin enables queueing jobs from the JCasC config using Job DSL.
Job DSL on its own can already queue jobs, but since JCasC runs before the Jenkins Queue is initialized any jobs queued during this initialization phase are discarded.
This plugin defers jobs queued by Job DSL during initialization until after Jenkins has fully loaded.
To queue a job via JCasC simply use the following example snippet:
jobs:
- script: |
queue("my_job")
Starting a development Jenkins instance with this plugin: mvn hpi:run
Building the plugin: mvn package