File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ inputs:
1212 description : Path to JJB YML file defining jobs
1313 required : false
1414 default : jobs.yml
15- jjb_conf_ini :
16- description : Path to jenkins-job .ini file. Specify URL and username here. https://jenkins-job-builder.readthedocs.io/en/latest/execution.html
15+ jjb_ini :
16+ description : Path to jenkins_jobs .ini file. Specify URL and username here. https://jenkins-job-builder.readthedocs.io/en/latest/execution.html
1717 required : false
18- default : jenkins-jobs .ini
18+ default : jenkins_jobs .ini
1919 jenkins_cert :
2020 description : Path to Jenkins web server certificate file. Set if you use self-signed cert in Jenkins.
2121 required : false
3232 env:
3333 INPUT_JENKINS_TOKEN: ${{ inputs.jenkins_token }}
3434 INPUT_JOBS_FILE: ${{ inputs.jjb_yml }}
35- INPUT_CONF_FILE : ${{ inputs.jjb_conf_ini }}
35+ INPUT_INI_FILE : ${{ inputs.jjb_ini }}
3636 INPUT_JENKINS_CERT: ${{ inputs.jenkins_cert }}
Original file line number Diff line number Diff line change 22
33set -xeu -o pipefail
44
5- pwd
6- ls -la
7- git status
8- ls -la " $INPUT_CONF_FILE "
9-
105if [[ " $INPUT_JENKINS_CERT " != ' false' ]]; then
116 export REQUESTS_CA_BUNDLE=" $INPUT_JENKINS_CERT "
127fi
138
14- jenkins-jobs --conf " $INPUT_CONF_FILE " -p " $INPUT_JENKINS_TOKEN " update " $INPUT_JOBS_FILE "
9+ jenkins-jobs --conf " $INPUT_INI_FILE " -p " $INPUT_JENKINS_TOKEN " update " $INPUT_JOBS_FILE "
You can’t perform that action at this time.
0 commit comments