Commit 40a5abdf authored by Gokul Nagare's avatar Gokul Nagare
Browse files

Merge branch 'ibm-pipeline-policy' into 'master'

preship stage added

See merge request !266
parents c8ec90a9 df132f7f
Pipeline #44837 passed with stage
in 18 seconds
......@@ -18,3 +18,14 @@ ibm-test:
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
ibm-preship-promote:
extends: .ibm
stage: publish
needs: ['ibm-test']
script:
- oc login --token=$IBM_PRESHIP_OPENSHIFT_TOKEN --server=$IBM_PRESHIP_OPENSHIFT_URL
- oc project $IBM_OPENSHIFT_PRESHIP_PROJECT
- oc start-build og-$CI_PROJECT_NAME-ibm
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment