Prefix $silo to the list of active builds 13/57113/1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 16 May 2017 00:21:53 +0000 (10:21 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 16 May 2017 00:21:53 +0000 (10:21 +1000)
Change-Id: Ib7c19a0d165075fe847f38ed98af14b96b6ec000
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/opendaylight-infra-cleanup-stale-stacks.sh

index db2390bdf1c42ecdb717479f81f90b334722900e..05949eec1ce021b3d0670a002acc9757771b02c2 100644 (file)
@@ -26,7 +26,7 @@ for silo in releng sandbox; do
     sleep 1  # Need to sleep for 1 second otherwise next line causes script to stall
     ACTIVE_BUILDS=(${ACTIVE_BUILDS[@]} $( \
         jq -r '.computer[].executors[].currentExecutable.url' "${silo}_builds.json" \
-        | grep -v null | awk -F'/' '{print $6 "-" $7}'))
+        | grep -v null | awk -F'/' '{print $4 "-" $6 "-" $7}'))
 done
 
 ##########################