summaryrefslogtreecommitdiffstats
path: root/jjb/xci
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-04-05 17:55:31 +0100
committerMarkos Chandras <mchandras@suse.de>2017-04-05 17:56:10 +0100
commit081b14b75aedf715500e652f4a9d47522e00fb01 (patch)
tree6170e54721c888accd02c5fd63415ffa75283463 /jjb/xci
parent37f9e7e794d4f407f1e67a4476d0874e89a7db6c (diff)
jjb: xci: bifrost-cleanup-job: Fix undefined variable
Variable 'i' does not exist. It should be 'try_to_rm' instead. Change-Id: Ic2aa5a1115715851379e2c7ba5c11699cb8e7407 Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'jjb/xci')
-rw-r--r--jjb/xci/bifrost-cleanup-job.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/xci/bifrost-cleanup-job.yml b/jjb/xci/bifrost-cleanup-job.yml
index d4b2157da..d5a444d09 100644
--- a/jjb/xci/bifrost-cleanup-job.yml
+++ b/jjb/xci/bifrost-cleanup-job.yml
@@ -69,7 +69,7 @@
while [[ $try_to_rm -lt 6 ]]; do
gsutil -m rm -r $BIFROST_GS_URL && _exitcode=$? && break
_exitcode=$?
- echo "gsutil rm failed! Trying again... (attempt #$i)"
+ echo "gsutil rm failed! Trying again... (attempt #$try_to_rm)"
let try_to_rm += 1
# Give it some time...
sleep 10