💣 Notify via telegram on master CI failure
We've come a long way and we need to triage failures that occur during
CI for the master branch. This will help us find problems with CI as
well as find other issues that could show up in a customer environment.
Also, let's send a happy notification when everything goes well. 💚
Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
1280035f8f
commit
460369b32b
1 changed files with 12 additions and 0 deletions
12
schutzbot/Jenkinsfile
vendored
12
schutzbot/Jenkinsfile
vendored
|
|
@ -303,6 +303,18 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
success {
|
||||
when { branch 'master' }
|
||||
telegramSend "💚 CI passed for osbuild-composer master branch!. ${env.BUILD_URL}"
|
||||
}
|
||||
unsuccessful {
|
||||
when { branch 'master' }
|
||||
telegramSend "💣 CI failed for osbuild-composer master branch! ${env.BUILD_URL}"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Set up a function to hold the steps needed to run the tests so we don't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue