summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:22:16 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:22:16 (GMT)
commit37d901a32ee54375785ec5b5b731b5d7839e1065 (patch)
tree05c35124fe83980325ed3d1c77c4a9fa6a0a3d0b
parent41753650e191dbc6d9ed84cb39c84f9244473e77 (diff)
downloadpasserelle-imio-extra-fees-main.zip
passerelle-imio-extra-fees-main.tar.gz
passerelle-imio-extra-fees-main.tar.bz2
build: update to use origin/mainHEADmain
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 6032d33..c694e66 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
@@ -6,7 +6,7 @@ pipeline {
stage('Packaging') {
steps {
script {
- if (env.JOB_NAME == 'passerelle-imio-extra-fees' && env.GIT_BRANCH == 'origin/master') {
+ if (env.JOB_NAME == 'passerelle-imio-extra-fees' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder passerelle-imio-extra-fees'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix passerelle-imio-extra-fees"