fixed typo and remove env dump
This commit is contained in:
parent
12ac051e8f
commit
5367930bdd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user