cancel previous ongoing jobs on Fineract.dev when updating [FINERACT-970]

This commit is contained in:
Michael Vorburger
2020-05-17 00:08:07 +02:00
committed by Michael Vorburger ⛑️
parent 1fdc033923
commit edcdcc34a2
+2
View File
@@ -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