From 877da90fc491f157e9b197f124fe40be9f27b57d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 2 Jul 2019 13:56:18 +0200 Subject: [PATCH] jenkins: add support for hotfix releases (#34485) --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index f9c46755..ceb105cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,6 +25,8 @@ pipeline { script { if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') { sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch combo' + } else if (env.GIT_BRANCH.startsWith('hotfix/')) { + sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix combo" } } }