Update 'Jenkinsfile'

fix sintax
This commit is contained in:
Roberto Cirillo 2022-09-20 16:01:31 +02:00
parent 85ac4e1d78
commit 9c54ae0273
1 changed files with 4 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -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}'
}
}