Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
Only deploy CIS testing on prod deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
flamingspaz committed Oct 4, 2017
1 parent 3dffccc commit 8e0a9ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Jenkinsfile
Expand Up @@ -66,8 +66,12 @@ node('mesos') {
node('master') {
stage('Deploy') {
parallel (
'staging deploy': { build job: 'deploy-test', parameters: params }
'cis testing deploy': { build job: 'deploy-test', parameters: params_cistest }
"deploy": { build job: 'deploy-test', parameters: params },
"cis testing deploy": {
if (environment == 'production') {
build job: 'deploy-test', parameters: params_cistest
}
}
)
}
}

0 comments on commit 8e0a9ec

Please sign in to comment.