generated from gCubeCI/Pipeline-Docker-Template
Update 'Jenkinsfile'
set params.GIT_BRANCH to the checkout git command
This commit is contained in:
parent
3aed62ebc6
commit
553e3bccd3
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue