matrix-notifier: use full URL to Drone build

This commit is contained in:
Bruno BELANYI 2021-06-15 18:28:12 +02:00
parent feb8639213
commit 74b5d9b48c

View file

@ -37,7 +37,7 @@ rawurlencode() {
default_drone_message() {
local msg="Build ${DRONE_BUILD_STATUS}"
msg="$msg ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_BUILD_NUMBER}"
msg="$msg ${DRONE_SYSTEM_PROTO}://${DRONE_SYSTEM_HOST}/${DRONE_REPO}/${DRONE_BUILD_NUMBER}"
msg="$msg (${DRONE_BRANCH})"
printf '%s' "$msg"
}