Role jenkins/bootstrap-job¶
Install a bootstrap job into jenkins
A bootstrap job will be created that checks out from a vcs and then executes all scripts that match the file glob bootstrap/*.job as a job-dsl script. This naturally assumes the job-dsl plugin is installed and ready.
Currently only git is supported but adding support for other vcs is a simple matter.
-
Role
jenkins
bootstrap-job
¶ Become: No
Parameters: - jenkins_home – Jenkins instance home.
- git_repo – Git repository with job-dsl scripts to bootstrap the jenkins instance.
- git_branch – Branch to checkout from git_repository (default: master)