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




commit dbe98adc92cdbcc7e6a27200264245bee450df66
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 db9dc2d7d..3ec172415 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -447,7 +447,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]