Skip to content

Commit d45f653

Browse files
committed
Merge pull request #92 from richm/fix-build-retry
Use local source for build retry after failure
2 parents 9e8d09f + ba32b33 commit d45f653

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hack/testing/logging.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@ function wait_for_builds_complete()
110110
# if we are here and needbuild=1, there were no running or complete builds
111111
if [ $needbuild = "1" ] ; then
112112
# start a new build
113-
oc start-build $bc
113+
if [ "$bc" = "logging-auth-proxy" -o "$USE_LOCAL_SOURCE" = false ] ; then
114+
oc start-build $bc
115+
else
116+
oc start-build --from-repo $OS_O_A_L_DIR $bc
117+
fi
114118
fi
115119
done
116120
sleep $interval

0 commit comments

Comments
 (0)