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

This commit is contained in:
Mahdi Abu Yasmine 2023-12-14 23:16:06 +01:00
parent c017ce159c
commit 6aa52a16ba

View File

@ -62,10 +62,10 @@ steps:
from_secret: ZULIP_TOKEN from_secret: ZULIP_TOKEN
commands: commands:
- if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi - if [ "${DRONE_BUILD_STATUS}" != "success" ]; then export ZULIP_STATUS=":prohibited:"; fi
- export ZULIP_MESSAGE=${DRONE_COMMIT_MESSAGE} - export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:0:-2}
- export SHORT_COMMIT=${DRONE_COMMIT} - export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
- echo $SHORT_COMMIT - echo $SHORT_COMMIT
- echo $${SHORT_COMMIT:0:7} # - echo $${SHORT_COMMIT:0:7}
- echo $ZULIP_STATUS - echo $ZULIP_STATUS
- echo $ZULIP_MESSAGE - echo $ZULIP_MESSAGE
- bash -c "echo $${ZULIP_COMMIT:0:7}" - bash -c "echo $${ZULIP_COMMIT:0:7}"