diff --git a/Jenkinsfile b/Jenkinsfile index 46e4145..793e453 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,8 +56,10 @@ pipeline { } stage('discord') { when { - branch 'main' - branch 'master' + anyOf { + branch 'main' + branch 'master' + } } steps { discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook