diff --git a/Jenkinsfile b/Jenkinsfile index ceed21f..0a0c949 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,6 +12,12 @@ pipeline { } } stage('discord') { + when { + anyOf { + branch 'main' + branch 'master' + } + } steps { discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook }