From cdf00a544b52504e8d5641c2f071938be1387b1a Mon Sep 17 00:00:00 2001 From: mahdi Date: Fri, 15 Dec 2023 00:13:40 +0100 Subject: [PATCH] devops - drone test error build --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index af31d1f..703f6d1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -72,11 +72,10 @@ steps: - echo $REMOTE_URL - echo ok - curl -X POST "$ZULIP_HOST/api/v1/messages" -u "$ZULIP_USER:$ZULIP_TKN" --data-urlencode "type=stream" --data-urlencode "to=\"$ZULIP_STREAM\"" --data-urlencode "topic=$ZULIP_TOPIC" --data "content=$ZULIP_STATUS **[build %23${DRONE_BUILD_NUMBER}](${DRONE_BUILD_LINK})**%0A> **${DRONE_BUILD_EVENT}** event on **${DRONE_COMMIT_BRANCH}** branch *by* **${DRONE_COMMIT_AUTHOR}** ([$SHORT_COMMIT]($REMOTE_URL/commit/${DRONE_COMMIT}))%0A> $ZULIP_MESSAGE" - -trigger: - status: - - success - - failure + when: + status: + - failure + - success volumes: - name: deps