diff --git a/Jenkinsfile b/Jenkinsfile index 626ad36..193728a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,4 @@ -@Library('eo-jenkins-lib@master') import eo.Utils +@Library('eo-jenkins-lib@main') import eo.Utils pipeline { agent any @@ -16,7 +16,7 @@ pipeline { stage('Packaging') { steps { script { - if (env.JOB_NAME == 'passerelle-reunion-pastell' && env.GIT_BRANCH == 'origin/master') { + if (env.JOB_NAME == 'passerelle-reunion-pastell' && env.GIT_BRANCH == 'origin/main') { sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch passerelle-reunion-pastell' } else if (env.GIT_BRANCH.startsWith('hotfix/')) { sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix passerelle-reunion-pastell"