generated from gCubeCI/Pipeline-Docker-Template
parent
c1c1e2fb01
commit
d298ea841a
|
@ -13,7 +13,7 @@ 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="${GIT_BRANCH.split('/').size() > 1 ? GIT_BRANCH.split('/')[1..-1].join('/') : GIT_BRANCH}"
|
GIT_BRANCH="${params.GIT_BRANCH.split('/').size() > 1 ? params.GIT_BRANCH.split('/')[1..-1].join('/') : params.GIT_BRANCH}"
|
||||||
// GIT_BRANCH= "${params.GIT_BRANCH.split("/")[1]}"
|
// GIT_BRANCH= "${params.GIT_BRANCH.split("/")[1]}"
|
||||||
// GIT_BRANCH= "${params.GIT_BRANCH}"
|
// GIT_BRANCH= "${params.GIT_BRANCH}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue