From: Markos Chandras Date: Wed, 5 Apr 2017 16:55:31 +0000 (+0100) Subject: jjb: xci: bifrost-cleanup-job: Fix undefined variable X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=081b14b75aedf715500e652f4a9d47522e00fb01;p=releng.git 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 --- 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