schutzbot: prepare for master → main rename
Prepare for the rename of the master branch to main.
This commit is contained in:
parent
00cffce22f
commit
ff1fd7a38e
1 changed files with 4 additions and 4 deletions
8
schutzbot/Jenkinsfile
vendored
8
schutzbot/Jenkinsfile
vendored
|
|
@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue