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