This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new edcdcc3  cancel previous ongoing jobs on Fineract.dev when updating 
[FINERACT-970]
edcdcc3 is described below

commit edcdcc34a202f808a04e2741baddf9f9dc1349a1
Author: Michael Vorburger <[email protected]>
AuthorDate: Sun May 17 00:07:09 2020 +0200

    cancel previous ongoing jobs on Fineract.dev when updating [FINERACT-970]
---
 .github/workflows/fineract.dev.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/fineract.dev.yaml 
b/.github/workflows/fineract.dev.yaml
index ad49d75..0ce8754 100644
--- a/.github/workflows/fineract.dev.yaml
+++ b/.github/workflows/fineract.dev.yaml
@@ -30,4 +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: gcloud beta builds triggers run deploy-demo --branch master 
--format=none

Reply via email to