Skip to content

Commit 784d18d

Browse files
committed
jobs/bodhi-trigger: send failure notifications to Matrix
This job is still relatively new. Push out failure notifications to Matrix to increase visibility and make it easier to collaborate on investigating issues.
1 parent 6146f5a commit 784d18d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jobs/bodhi-trigger.Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ cosaPod(cpu: "0.1", kvm: false) {
188188
--stream ${stream}
189189
""")
190190
}
191+
if (test.result != 'SUCCESS') {
192+
matrixSendMessage(hostname: 'fedora.im', accessTokenCredentialsId: 'CREDS', roomId: 'ROOM', body: "${currentBuild.description} - ${outcome}")
193+
}
191194
}
192195

193196
// propagate

0 commit comments

Comments
 (0)