Skip to content

dasch-swiss/jenkins-jcasc-queue-job-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins JCasC Queue Job Plugin

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.

Usage

To queue a job via JCasC simply use the following example snippet:

jobs:
  - script: |
      queue("my_job")

Development

Starting a development Jenkins instance with this plugin: mvn hpi:run

Building the plugin: mvn package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages