This commit is contained in:
parent
a879ba59ff
commit
1a26227897
|
@ -29,8 +29,9 @@ steps:
|
||||||
image: pluie/alpine
|
image: pluie/alpine
|
||||||
commands:
|
commands:
|
||||||
- export msg=${DRONE_COMMIT_MESSAGE}
|
- export msg=${DRONE_COMMIT_MESSAGE}
|
||||||
- >
|
- export msg="${msg:0:10}"
|
||||||
/bin/bash -c "curl -s -k -X POST https://zulip.meta-tech.academy/api/v1/messages -u drone-bot@zulip.meta-tech.academy:iIm8Hc2VuvK06iDxUODUIndlRu6As6bO --data-urlencode type=stream --data-urlencode 'to=\"gitea\"' --data-urlencode topic=build --data-urlencode content=\"build n° ${DRONE_BUILD_NUMBER} - ${DRONE_REPO}/${DRONE_REPO_BRANCH}/${DRONE_COMMIT} by ${DRONE_COMMIT_AUTHOR} > ${DRONE_BUILD_STATUS} < $${msg:0:10}...\""
|
- /bin/bash -c "curl -s -k -X POST https://zulip.meta-tech.academy/api/v1/messages -u drone-bot@zulip.meta-tech.academy:iIm8Hc2VuvK06iDxUODUIndlRu6As6bO --data-urlencode type=stream --data-urlencode 'to=\"gitea\"' --data-urlencode topic=build --data-urlencode content=\"build n° ${DRONE_BUILD_NUMBER} - ${DRONE_REPO}/${DRONE_REPO_BRANCH}/${DRONE_COMMIT} by ${DRONE_COMMIT_AUTHOR} > ${DRONE_BUILD_STATUS} < $${msg}...\""
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: deps
|
- name: deps
|
||||||
temp: {}
|
temp: {}
|
Loading…
Reference in New Issue
Block a user