fixed typo and remove env dump
This commit is contained in:
+2
-4
@@ -5,8 +5,8 @@
|
||||
[ -z $PLUGIN_PASSWORD ] && [ -n $SENDXMPP_PASSWORD ] && PLUGIN_PASSWORD="${SENDXMPP_PASSWORD}"
|
||||
|
||||
# check if all required fields are set
|
||||
[ -z "$PLUGIN_USERNAME" ] && echo "missing password or sendxmpp_password secret" && exit 1
|
||||
[ -z "$PLUGIN_PASSWORD" ] && echo "missing username or sendxmpp_username secret" && exit 1
|
||||
[ -z "$PLUGIN_USERNAME" ] && echo "missing username or sendxmpp_username secret" && exit 1
|
||||
[ -z "$PLUGIN_PASSWORD" ] && echo "missing password or sendxmpp_password secret" && exit 1
|
||||
[ -z "$PLUGIN_JSERVER" ] && echo "missing jserver" && exit 1
|
||||
[ -z "$PLUGIN_RECIPIENT" ] && echo "missing recipient" && exit 1
|
||||
|
||||
@@ -21,6 +21,4 @@ CMD="sendxmpp \
|
||||
--no-tls-verify
|
||||
${PLUGIN_RECIPIENT}"
|
||||
|
||||
env | grep "DRONE_"
|
||||
|
||||
echo $MSG | $CMD
|
||||
|
||||
Reference in New Issue
Block a user