devops - drone test error build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mahdi Abu Yasmine 2023-12-15 00:26:17 +01:00
parent c068d1d96d
commit 55ff2b1929

View File

@ -73,15 +73,15 @@ steps:
- 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 "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"