schutzbot: prepare for master → main rename

Prepare for the rename of the master branch to main.
This commit is contained in:
Christian Kellner 2020-11-16 18:32:43 +01:00 committed by Lars Karlitski
parent 00cffce22f
commit ff1fd7a38e

View file

@ -120,8 +120,8 @@ pipeline {
success {
node('schutzbot') {
script {
if (env.BRANCH_NAME == 'master') {
telegramSend "💚 CI passed for koji-osbuild master branch ${env.BUILD_URL}"
if (env.BRANCH_NAME == 'main') {
telegramSend "💚 CI passed for koji-osbuild main branch ${env.BUILD_URL}"
}
}
}
@ -129,8 +129,8 @@ pipeline {
unsuccessful {
node('schutzbot') {
script {
if (env.BRANCH_NAME == 'master') {
telegramSend "💣 CI failed for koji-osbuild master branch ${env.BUILD_URL}"
if (env.BRANCH_NAME == 'main') {
telegramSend "💣 CI failed for koji-osbuild main branch ${env.BUILD_URL}"
}
}
}