From 215649cc9f2c63b41f2796670593ad2a326359ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 16 Jul 2019 16:03:59 +0200 Subject: [PATCH] build: add support for hotfix branches --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) 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" } } }