Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

sboardwell/job-dsl-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

job-dsl-generator

A util script to help bridge the gap between job configuration through the Jenkins Job DSL Plugin vs through the declarative Jenkins Pipeline Syntax.

Usage and Examples

These scripts will be improved over time but for now you can try out the examples found in the examples directory.

  • fork this repo

  • create the seed pipeline job as per [examples/seed-project/Jenkinsfile]

  • the util script needs a set of credentials (username + access-token for an authorised user, does not need to be an admin), so either:

    • add some jenkins-creds credentials or
    • change the jenkins-creds to the credentials of your choice

    To be continued...