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:23:41 +01:00
parent 48103111ca
commit c068d1d96d

View File

@ -71,6 +71,18 @@ steps:
- echo $ZULIP_MESSAGE - echo $ZULIP_MESSAGE
- echo $REMOTE_URL - echo $REMOTE_URL
- echo "FAILED STEPS ${DRONE_FAILED_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 " ================================= "
- echo ok - 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" - 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: when: