jenkins: fix comparison of job name

This commit is contained in:
Frédéric Péters 2021-10-08 15:21:01 +02:00
parent 8d8351dec4
commit 260a004abd
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -30,7 +30,7 @@ PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt
stage('Packaging') {
steps {
script {
if (env.JOB_NAME == 'authentic2-wallonie-connect/main') {
if (env.JOB_NAME == 'authentic2-wallonie-connect') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder authentic2-wallonie-connect'
}
}