summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:21:15 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:21:15 (GMT)
commit54aae08cfee8296377390138f8cd2f0efe946888 (patch)
tree94965c33cbd6248e9c3cb90d4e5269723bb1dc15
parent70b6a1258afb99750a62269593b273e61aba014b (diff)
downloadwelco-54aae08cfee8296377390138f8cd2f0efe946888.zip
welco-54aae08cfee8296377390138f8cd2f0efe946888.tar.gz
welco-54aae08cfee8296377390138f8cd2f0efe946888.tar.bz2
build: update to use origin/main
-rw-r--r--Jenkinsfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index e02802a..f4daa1c 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
@@ -23,7 +23,7 @@ pipeline {
stage('Packaging') {
steps {
script {
- if (env.JOB_NAME == 'welco' && env.GIT_BRANCH == 'origin/master') {
+ if (env.JOB_NAME == 'welco' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder welco'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix welco"