Update 'Jenkinsfile'

set params.GIT_BRANCH to the checkout git command
This commit is contained in:
Roberto Cirillo 2022-09-21 10:22:03 +02:00
parent 3aed62ebc6
commit 553e3bccd3
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -30,7 +30,7 @@ pipeline {
echo " env GIT_BRANCH: ${params.GIT_BRANCH}"
echo " GIT_URL: ${GIT_URL}"
echo " GIT_BRANCH: ${GIT_BRANCH}"
git branch: '${GIT_BRANCH}', credentialsId: '88b54962-1c0e-49cb-8155-22276860f346', url: "${GIT_URL}"
git branch: '${params.GIT_BRANCH}', credentialsId: '88b54962-1c0e-49cb-8155-22276860f346', url: "${GIT_URL}"
}
}
stage('Build the job') {