build: update to use origin/main
This commit is contained in:
parent
e73a2c41df
commit
8029a2e7fb
|
@ -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
|
||||||
|
@ -11,7 +11,7 @@ pipeline {
|
||||||
stage('Packaging') {
|
stage('Packaging') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
if (env.JOB_NAME == 'publik-common' && env.GIT_BRANCH == 'origin/master') {
|
if (env.JOB_NAME == 'publik-common' && env.GIT_BRANCH == 'origin/main') {
|
||||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder publik-common'
|
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder publik-common'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue