diff --git a/.drone.yml b/.drone.yml index a1a4a2e..1656ae0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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"