summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:21:16 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2020-12-26 14:21:16 (GMT)
commitf99cbe5e9b9d8246b71046c34c8df7d3147c95c2 (patch)
tree8d53bf15d11bfad42848d07cc2662a642a36049e
parent82fd47b44db8625c7539947ae43ff2188c642e3e (diff)
downloadmail2redmine-f99cbe5e9b9d8246b71046c34c8df7d3147c95c2.zip
mail2redmine-f99cbe5e9b9d8246b71046c34c8df7d3147c95c2.tar.gz
mail2redmine-f99cbe5e9b9d8246b71046c34c8df7d3147c95c2.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 4c06394..b3ee5c3 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 == 'mail2redmine' && env.GIT_BRANCH == 'origin/master') {
+ if (env.JOB_NAME == 'mail2redmine' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch mail2redmine'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix mail2redmine"