Fix: Moving variable to outside the loop

The variable was being reset to false instead of toggling.

Change-Id: Id8ff808e3285af02e5eaa1a09827d3352eb972f8
This commit is contained in:
FLETCHER 2021-03-08 14:45:51 -06:00
parent 26212571ea
commit 74abfda084

View File

@ -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