create real message from drone environment variables
This commit is contained in:
parent
427cbc7af8
commit
5571785ad1
@ -10,7 +10,9 @@
|
|||||||
[ -z "$PLUGIN_JSERVER" ] && echo "missing jserver" && exit 1
|
[ -z "$PLUGIN_JSERVER" ] && echo "missing jserver" && exit 1
|
||||||
[ -z "$PLUGIN_RECIPIENT" ] && echo "missing recipient" && exit 1
|
[ -z "$PLUGIN_RECIPIENT" ] && echo "missing recipient" && exit 1
|
||||||
|
|
||||||
MSG="drone ist da"
|
# create message from drone environment
|
||||||
|
[ -n "$DRONE_TAG"] && MSG="$DRONE_REPO_NAME:$DRONE_TAG" || MSG="$DRONE_REPO_NAME:$DRONE_TAG"
|
||||||
|
MSG="$MSG:$DRONE_BUILD_STATUS:$DRONE_BUILD_LINK"
|
||||||
|
|
||||||
CMD="sendxmpp \
|
CMD="sendxmpp \
|
||||||
-u ${PLUGIN_USERNAME} \
|
-u ${PLUGIN_USERNAME} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user