Created
May 25, 2022 16:02
-
-
Save spy86/47e121fd86a3a0b8958b3b6dcd7a6d9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pipelineJob("Build_Vagrant_Image") { | |
| logRotator(30, -1, 1, -1) | |
| parameters { | |
| stringParam('VAGRANT_BOX_VERSION', '1.1', 'Version of vagrantbox') | |
| choiceParam('IMAGE', ['-----Choose OS for Build----', '-----Ubuntu-----', 'ubuntu1604', 'ubuntu1804', 'ubuntu2004', '-----CentOS-----', 'centos6', 'centos7', 'centos8', '-----Debian-----', 'debian8', 'debian9', 'debian10', '-----FreeBSD-----', 'freebsd11.4', 'freebsd12.2', 'freebsd13.0', ], 'Build OS') | |
| } | |
| definition { | |
| cpsScm { | |
| scm { | |
| git{ | |
| branch('*/master') | |
| remote { | |
| url('https://github.com/test/jobdsl.git') | |
| credentials('11111111-2222-3333-4444-555555555555') | |
| } | |
| } | |
| scriptPath('pipelines/BuildPackerImage.groovy') | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment