fix job name

This commit is contained in:
Benjamin Dauvergne 2021-12-10 13:05:25 +01:00
parent 940bf6c4e6
commit cd2cff88c4
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -12,7 +12,7 @@ pipeline {
stage('Packaging') {
steps {
script {
if (env.JOB_NAME == 'godo.js' && env.GIT_BRANCH == 'origin/main') {
if (env.JOB_NAME == 'godo' && env.GIT_BRANCH == 'origin/main') {
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder godo.js'
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix godo.js"