From c068d1d96d3e68da70c3f9d610eb10de083489e4 Mon Sep 17 00:00:00 2001 From: mahdi Date: Fri, 15 Dec 2023 00:23:41 +0100 Subject: [PATCH] devops - drone test error build --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1716d9e..a1a4a2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -71,6 +71,18 @@ steps: - echo $ZULIP_MESSAGE - echo $REMOTE_URL - echo "FAILED STEPS ${DRONE_FAILED_STEPS}" + - echo " ================================= " + - echo "DRONE_BUILD_ACTION ${DRONE_BUILD_ACTION}" + - echo "DRONE_BUILD_CREATED ${DRONE_BUILD_CREATED} + - echo "DRONE_BUILD_EVENT ${DRONE_BUILD_EVENT} + - echo "DRONE_BUILD_FINISHED ${DRONE_BUILD_FINISHED} + - echo "DRONE_BUILD_NUMBER ${DRONE_BUILD_NUMBER} + - echo "DRONE_BUILD_LINK ${DRONE_BUILD_LINK} + - echo "DRONE_BUILD_PARENT ${DRONE_BUILD_PARENT} + - echo "DRONE_BUILD_STARTED ${DRONE_BUILD_STARTED} + - echo "DRONE_BUILD_STATUS ${DRONE_BUILD_STATUS} + - echo "DRONE_BUILD_TRIGGER ${DRONE_BUILD_TRIGGER} + - echo " ================================= " - 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" when: