Skip to content

Commit b04f8f7

Browse files
committed
fixed typo, removed debug
1 parent d16a663 commit b04f8f7

2 files changed

Lines changed: 5 additions & 10 deletions

File tree

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
@@ -32,5 +32,5 @@ runs:
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 }}

gha.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22

33
set -xeu -o pipefail
44

5-
pwd
6-
ls -la
7-
git status
8-
ls -la "$INPUT_CONF_FILE"
9-
105
if [[ "$INPUT_JENKINS_CERT" != 'false' ]]; then
116
export REQUESTS_CA_BUNDLE="$INPUT_JENKINS_CERT"
127
fi
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"

0 commit comments

Comments
 (0)