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




commit ea1e5c7f2bffffec546e63e838171d04eefcf27d
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 35b0ce102..3d8010b49 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -484,7 +484,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]