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




commit 51e9a05ebdb1456119a950a7d8af05afcebf61b0
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 3e410df24..6c0c438be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -496,7 +496,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]