|
|
@ -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} \
|
|
|
|