1
0
Fork 0

create real message from drone environment variables

master
Hanjo Meinhardt 7 years ago
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…
Cancel
Save