build: update to use origin/main
This commit is contained in:
parent
f904f03a57
commit
a6eb71ac63
|
@ -1,4 +1,4 @@
|
||||||
@Library('eo-jenkins-lib@master') import eo.Utils
|
@Library('eo-jenkins-lib@main') import eo.Utils
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
@ -53,7 +53,7 @@ PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt
|
||||||
stage('Packaging') {
|
stage('Packaging') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (env.JOB_NAME == 'authentic' && env.GIT_BRANCH == 'origin/master') {
|
if (env.JOB_NAME == 'authentic' && env.GIT_BRANCH == 'origin/main') {
|
||||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder authentic'
|
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder authentic'
|
||||||
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
} else if (env.GIT_BRANCH.startsWith('hotfix/')) {
|
||||||
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix authentic"
|
sh "sudo -H -u eobuilder /usr/local/bin/eobuilder --branch ${env.GIT_BRANCH} --hotfix authentic"
|
||||||
|
|
Loading…
Reference in New Issue