mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 13:50:05 +00:00
chore: json payload
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
if npm run cy:run -- --spec "cypress/integration/sasjs.tests.ts" ; then
|
if npm run cy:run -- --spec "cypress/integration/sasjs.tests.ts" ; then
|
||||||
echo "Cypress sasjs testing passed!"
|
echo "Cypress sasjs testing passed!"
|
||||||
else
|
else
|
||||||
echo "curling: Automated sasjs-tests failed on the @sasjs/adapter PR on following link.\n" $2
|
echo '{"msgtype":"m.text", "body":"content":"Automated sasjs-tests failed on the @sasjs/adapter PR: '$2'"}'
|
||||||
curl -XPOST -d '{"msgtype":"m.text", "body":"content":"Automated sasjs-tests failed on the @sasjs/adapter PR on following link.\n'$2'"}' https://matrix.4gl.io/_matrix/client/r0/rooms/%21BDUPBPEGVvRLKLQUxY:4gl.io/send/m.room.message?access_token=$1
|
curl -XPOST -d '{"msgtype":"m.text", "body":"content":"Automated sasjs-tests failed on the @sasjs/adapter PR: '$2'"}' https://matrix.4gl.io/_matrix/client/r0/rooms/%21BDUPBPEGVvRLKLQUxY:4gl.io/send/m.room.message?access_token=$1
|
||||||
echo "Cypress sasjs testing failed!"
|
echo "Cypress sasjs testing failed!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user