[gnome-build-meta/sam/openqa-separate-repo: 5/6] openqa: Show error log correctly in CI




commit 0f8ed64eacb6b2b086bd425472d89783c219c686
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Tue Nov 9 14:05:11 2021 +0100

    openqa: Show error log correctly in CI
    
    Fixes a missing newline in the relevant shell snippet.

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af7c39c2b..e7178e515 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -454,7 +454,8 @@ test-iso-installer-x86_64:
         openqa/utils/teardown_worker.sh $(cat /tmp/machine_id)
         rm /tmp/machine_id
     fi
-  - if [ ! -e /tmp/exit_code ]; then
+  - |
+    if [ ! -e /tmp/exit_code ]; then
         echo "Job creation failed, log below."
         cat openqa.log
   - fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]