Skip to content
Snippets Groups Projects
Commit b1dcfc53 authored by OZGCloud's avatar OZGCloud
Browse files

Adjust Matrix room

parent 873a4a78
Branches
Tags
No related merge requests found
......@@ -362,10 +362,10 @@ Void sendFailureMessage() {
href='${BLUE_OCEAN_URL}'>${env.BUILD_NUMBER}</a>"}"""
if (env.BRANCH_NAME == 'main') {
room = "!iQPAvQIiRwRpNOszjw:matrix.ozg-sh.de"
room = "!GjqhmouBtnDbwUkAjx:matrix.ozg-sh.de"
}
else if (env.BRANCH_NAME == 'release') {
room = "!oWZpUGTFsxkJIYNfYg:matrix.ozg-sh.de"
room = "!GDensDhSaOmnenOBAu:matrix.ozg-sh.de"
}
sh "curl -XPOST -H 'authorization: Bearer ${getElementAccessToken()}' -d '${data}' https://matrix.ozg-sh.de/_matrix/client/v3/rooms/$room/send/m.room.message"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment