Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env groovy

@Library('etn-ipm2-jenkins') _

//We want to manage push to obs from global parameters
import params.CmakePipelineParams
CmakePipelineParams cmakeParameters = new CmakePipelineParams()

pipeline {
agent {
docker {
Expand Down Expand Up @@ -532,7 +538,21 @@ OUT="`git status -s`" && [ -z "\$OUT" ] \\
}
} // Commit Coverity

stage ('deploy') {
stage ('Push to OBS') {
when {
allOf {
expression { return cmakeParameters.enableDeploy }
anyOf {
branch 'master'
branch 'main'
branch "release/*"
branch "featureimage/*"
branch 'FTY'
branch '*-FTY-master'
branch '*-FTY'
}
}
}
steps {
script {
deploy.pushToOBS()
Expand Down