Skip to content

Commit 6ecf9c8

Browse files
committed
utils.groovy: escape MATRIX_WEBHOOK_URL and TOKEN
These are environment variables, so we need to escape it to let bash interpret it instead of Groovy.
1 parent 53307b3 commit 6ecf9c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def matrixSend(message) {
715715

716716
shwrap("""
717717
curl -X POST -H "Content-Type: application/json" \
718-
-u $TOKEN $MATRIX_WEBHOOK_URL \
718+
-u \$TOKEN \$MATRIX_WEBHOOK_URL \
719719
--silent \
720720
-d '
721721
{

0 commit comments

Comments
 (0)