Skip to content

Commit

Permalink
Update pipeline.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
debianmaster authored Feb 8, 2018
1 parent 057fd21 commit fa9cc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline-example/qa/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ spec:
jenkinsfile: |-
node('') {
stage 'Deploy in QA'
openshiftTag(namespace: 'dev', sourceStream: 'welcome', sourceTag: 'latest',destinationNamespace: 'qa', destinationStream: 'welcome', destinationTag: 'promoteToQA')
openshiftDeploy(namespace:'dev',deploymentConfig: 'welcome')
openshiftTag(namespace: 'qa', sourceStream: 'welcome', sourceTag: 'promoteToQA',destinationNamespace: 'qa', destinationStream: 'welcome', destinationTag: 'promoteToQA')
openshiftDeploy(namespace:'qa',deploymentConfig: 'welcome')
stage 'Run Tests'
sh 'echo testing.....'
stage 'Promote in PROD'
Expand Down

0 comments on commit fa9cc68

Please sign in to comment.