Jenkinsfile fixes
gitea/salix/PR-8 This commit looks good
Details
gitea/salix/PR-8 This commit looks good
Details
This commit is contained in:
parent
3b0d003322
commit
f56043e786
|
@ -36,9 +36,6 @@ pipeline {
|
|||
case 'test':
|
||||
env.NODE_ENV = 'test'
|
||||
break
|
||||
default:
|
||||
env.NODE_ENV = 'development'
|
||||
break
|
||||
}
|
||||
}
|
||||
echo "Committer: ${env.GIT_COMMITTER_EMAIL}"
|
||||
|
@ -124,9 +121,10 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Cleanup') {
|
||||
when {
|
||||
not { branch 'dev' }
|
||||
}
|
||||
when { anyOf {
|
||||
branch 'test'
|
||||
branch 'master'
|
||||
}}
|
||||
steps {
|
||||
sh 'docker logout $REGISTRY'
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue