devops - drone test
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 23:41:46 +01:00
parent 7441ce3140
commit 4548388967

View File

@ -63,7 +63,7 @@ steps:
commands:
- apk add --no-cache curl
- if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi
- 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}** ([$${DRONE_COMMIT:0:7}]($${DRONE_REMOTE_URL:0:-4}/commit/${DRONE_COMMIT}))%0A> $${DRONE_COMMIT_MESSAGE:-2}
- 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}** ([$${DRONE_COMMIT:0:7}]($${DRONE_REMOTE_URL:0:-4}/commit/${DRONE_COMMIT}))%0A> $${DRONE_COMMIT_MESSAGE:-2}"
volumes:
- name: deps