change build package condition (#23431)
This commit is contained in:
parent
86457dba03
commit
5f2737919a
|
@ -5,14 +5,13 @@ pipeline {
|
|||
stages {
|
||||
stage('Unit Tests') {
|
||||
steps {
|
||||
echo "Job name : ${env.JOB_NAME}"
|
||||
sh 'tox -rv'
|
||||
}
|
||||
}
|
||||
stage('Packaging') {
|
||||
steps {
|
||||
script {
|
||||
if (env.BRANCH_NAME == 'master' && env.JOB_NAME == 'combo') {
|
||||
if (env.JOB_NAME == 'combo' && env.GIT_BRANCH == 'origin/master') {
|
||||
sh 'sudo -H -u eobuilder /usr/local/bin/eobuilder -d jessie,stretch combo'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue