summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-07-16 14:03:59 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-07-16 14:04:37 (GMT)
commit215649cc9f2c63b41f2796670593ad2a326359ab (patch)
tree6d3274e150097cef8bc8f74d09c15816531c0091
parentbd1a4fdb0e038d445a1893009e29ed9d797bf983 (diff)
downloadwelco-215649cc9f2c63b41f2796670593ad2a326359ab.zip
welco-215649cc9f2c63b41f2796670593ad2a326359ab.tar.gz
welco-215649cc9f2c63b41f2796670593ad2a326359ab.tar.bz2
build: add support for hotfix branches
-rw-r--r--Jenkinsfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index ae34198..b129ac8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -25,6 +25,8 @@ pipeline {
script {
if (env.JOB_NAME == 'welco' && env.GIT_BRANCH == 'origin/master') {
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 -d stretch --branch ${env.GIT_BRANCH} --hotfix welco"
}
}
}