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