From ec8a2ea148f9f2fa5da681d87093f91e04d0eeae Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Wed, 26 Sep 2018 16:26:30 +0200
Subject: [PATCH] Improve logging

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7275579..f2c8486 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -81,7 +81,7 @@ stop_testing:
   script:
     - *nomad_deps
     - export JOB_PREFIX="${DEV_JOB_PREFIX}"
-    - for j in *.nomad; do echo -e "\n${j}:"; JOB=`grep task <(envsubst < $j) | sed 's/.*"\([^"]*\)".*/\1/'`; nomad job stop -purge ${JOB}; done
+    - for j in *.nomad; do JOB=`grep task <(envsubst < $j) | sed 's/.*"\([^"]*\)".*/\1/'`; echo -e "\nPurging job ${JOB}:"; nomad job stop -purge ${JOB}; done
   only:
     - tags
     - master
-- 
GitLab