From 3e961388fea67d94523dbd75f620de9305d6aa63 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Tue, 16 May 2017 10:21:53 +1000 Subject: [PATCH] Prefix $silo to the list of active builds Change-Id: Ib7c19a0d165075fe847f38ed98af14b96b6ec000 Signed-off-by: Anil Belur --- jjb/opendaylight-infra-cleanup-stale-stacks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/opendaylight-infra-cleanup-stale-stacks.sh b/jjb/opendaylight-infra-cleanup-stale-stacks.sh index db2390bdf..05949eec1 100644 --- a/jjb/opendaylight-infra-cleanup-stale-stacks.sh +++ b/jjb/opendaylight-infra-cleanup-stale-stacks.sh @@ -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 ########################## -- 2.36.6