added build script and initial version
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
: ${PLUGIN_USERNAME?"missing username"}
|
||||
: ${PLUGIN_JSERVER?"missing jserver"}
|
||||
: ${PLUGIN_PASSWORD?"missing password"}
|
||||
: ${PLUGIN_RECIPIENT?"missing recipient"}
|
||||
|
||||
env | grep DRONE
|
||||
|
||||
MSG="drone ist da"
|
||||
|
||||
CMD="sendxmpp \
|
||||
-u ${PLUGIN_USERNAME} \
|
||||
-j ${PLUGIN_JSERVER} \
|
||||
-p ${PLUGIN_PASSWORD} \
|
||||
--tls \
|
||||
--verbose \
|
||||
--no-tls-verify
|
||||
${PLUGIN_RECIPIENT}"
|
||||
|
||||
echo $MSG | $CMD
|
||||
Reference in New Issue
Block a user