Skip to content

Commit

Permalink
Added matrix notification in Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Wallace committed Jan 22, 2025
1 parent 1e55e50 commit 0c0ed59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ pipeline {
status: currentBuild.result,
targetUrl: "${siteUrl}",
message: "Site available: ${siteUrl}"

matrixSendMessage hostname: 'synapse.osuosl.org',
accessTokenCredentialsId: 'matrix-notification',
roomId: env.ROOM_ID
body: "osuosl/website - #${env.BUILD_ID} finished with status ${currentBuild.result} [Open](${env.BUILD_URL})"
}
}
}
Expand Down

0 comments on commit 0c0ed59

Please sign in to comment.