Skip to content
Snippets Groups Projects
Commit f2fd5767 authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Update .gitlab-ci.yml to show the logs for the running OpenShift job

parent 28a3b0e2
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ deploy-build-environment:
# wait for job to finish https://stackoverflow.com/questions/5073453wait-for-kubernetes-job-to-complete-on-either-failure-success-using-command-line
- oc get job/simplejob -o=jsonpath='{.status}' -w
- oc get job/simplejob -o=jsonpath='{.status.conditions[*].type}' | grep -i -E 'failed|complete' || echo 'Failed'
- oc logs jobs/simplejob
tags:
- shell-runner
......
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