From a0e20588aa520da3d3ca0227fe1030bbaa347b66 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sun, 17 May 2020 00:18:40 +0200 Subject: [PATCH] fix canceling previous ongoing jobs on Fineract.dev [FINERACT-970] --- .github/workflows/fineract.dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fineract.dev.yaml b/.github/workflows/fineract.dev.yaml index 0ce875459..e1581260f 100644 --- a/.github/workflows/fineract.dev.yaml +++ b/.github/workflows/fineract.dev.yaml @@ -30,6 +30,6 @@ jobs: - run: gcloud components install beta - - run: JOBS=$(gcloud beta builds list --ongoing --format="value[terminator=' '](id)") && [ ! -z "$JOBS" ] && echo "Cancelling $JOBS..." && gcloud builds cancel $JOBS --no-user-output-enabled + - run: JOBS=$(gcloud beta builds list --ongoing --format="value[terminator=' '](id)") && [ ! -z "$JOBS" ] && echo "Cancelling $JOBS..." && gcloud builds cancel $JOBS --no-user-output-enabled || true - run: gcloud beta builds triggers run deploy-demo --branch master --format=none