jenkins: add support for hotfix releases (#34485)

This commit is contained in:
Frédéric Péters 2019-07-02 14:22:10 +02:00
parent 27702e72c7
commit a4339f1c41
1 changed files with 2 additions and 0 deletions

2
Jenkinsfile vendored
View File

@ -34,6 +34,8 @@ PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt
script {
if (env.JOB_NAME == 'authentic' && env.GIT_BRANCH == 'origin/master') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder authentic'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder -d stretch --branch ${env.GIT_BRANCH} --hotfix authentic"
}
}
}