generated from gCubeCI/Pipeline-Docker-Template
parent
85ac4e1d78
commit
9c54ae0273
|
@ -12,8 +12,8 @@ pipeline {
|
|||
}
|
||||
environment {
|
||||
JAVA_HOME='/usr/lib/jvm/java-8-openjdk-amd64'
|
||||
GIT_URL= "${params.GIT_URL}"
|
||||
GIT_BRANCH= "${params.GIT_BRANCH}"
|
||||
GIT_URL= '${params.GIT_URL}'
|
||||
GIT_BRANCH= '${params.GIT_BRANCH}'
|
||||
}
|
||||
stages {
|
||||
stage('Checkout git project') {
|
||||
|
@ -21,8 +21,9 @@ pipeline {
|
|||
echo " env GIT_URL: ${env.GIT_URL}"
|
||||
echo " env GIT_BRANCH: ${env.GIT_BRANCH}"
|
||||
echo " param GIT_URL: ${params.GIT_URL}"
|
||||
echo " env GIT_BRANCH: ${params.GIT_BRANCH}"
|
||||
echo " GIT_URL: ${GIT_URL}"
|
||||
echo " param GIT_BRANCH: ${params.GIT_BRANCH}"
|
||||
echo " GIT_BRANCH: ${GIT_BRANCH}"
|
||||
git branch: '${GIT_BRANCH}', credentialsId: '88b54962-1c0e-49cb-8155-22276860f346', url: '${GIT_URL}'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue