From 74abfda084e2a724c6a19bbb7f213e6e5f91871a Mon Sep 17 00:00:00 2001 From: FLETCHER Date: Mon, 8 Mar 2021 14:45:51 -0600 Subject: [PATCH] Fix: Moving variable to outside the loop The variable was being reset to false instead of toggling. Change-Id: Id8ff808e3285af02e5eaa1a09827d3352eb972f8 --- tools/gate/jarvis/800-deploy-jarvis-projects.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate/jarvis/800-deploy-jarvis-projects.sh b/tools/gate/jarvis/800-deploy-jarvis-projects.sh index e56c0073..c77689a0 100755 --- a/tools/gate/jarvis/800-deploy-jarvis-projects.sh +++ b/tools/gate/jarvis/800-deploy-jarvis-projects.sh @@ -82,6 +82,7 @@ EOF done +voting_ci="false" for jarvis_project in `find ./tools/gate/jarvis/5G-SA-core -maxdepth 1 -mindepth 1 -type d -printf '%f\n'`; do # Check jarvis pipeline run end=$(date +%s) @@ -103,7 +104,6 @@ for jarvis_project in `find ./tools/gate/jarvis/5G-SA-core -maxdepth 1 -mindepth end=$(date +%s) timeout="120" end=$((end + timeout)) - voting_ci="false" while true; do if [ $voting_ci = "true" ]; then