From f2fd57673995554accf05b59e467ae3b8ae04514 Mon Sep 17 00:00:00 2001 From: Athanasios Karmas <karmas@athenarc.gr> Date: Wed, 14 Jul 2021 11:32:36 +0000 Subject: [PATCH] Update .gitlab-ci.yml to show the logs for the running OpenShift job --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67404bbe..e927861e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- GitLab