Compare commits
1 commit
27debc1e78
...
d5c3204a98
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | d5c3204a98 |
|
@ -42,7 +42,7 @@ default_drone_message() {
|
||||||
local msg="Build ${DRONE_BUILD_STATUS}"
|
local msg="Build ${DRONE_BUILD_STATUS}"
|
||||||
local drone_url="${DRONE_SYSTEM_PROTO}://${DRONE_SYSTEM_HOST}/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
|
local drone_url="${DRONE_SYSTEM_PROTO}://${DRONE_SYSTEM_HOST}/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
|
||||||
if [ "$FORMAT" == "true" ]; then
|
if [ "$FORMAT" == "true" ]; then
|
||||||
msg="$msg [${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}#${DRONE_COMMIT:0:7}]($drone_url)"
|
msg="$msg [URL HERE]($drone_url)"
|
||||||
else
|
else
|
||||||
msg="$msg $drone_url"
|
msg="$msg $drone_url"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue