Skip to content

Commit

Permalink
Change prod server and default slack channel
Browse files Browse the repository at this point in the history
Signed-off-by: mnokka-unikie <[email protected]>
  • Loading branch information
mnokka-unikie committed Nov 15, 2024
1 parent 1d5ef8e commit aac4f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghaf-main-pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ pipeline {
} else {
formattedFailedMessage = "None"
}
if (servername=="ghaf-jenkins-controller-dev") {
serverchannel="ghaf-jenkins-builds-failed" // prod main build failures channel
if (servername=="ghaf-jenkins-controller-prod") {
serverchannel="ghaf-build" // prod main build failures channel
echo "Slack channel:$serverchannel"
line1="*FAILURE:* ${env.BUILD_URL}".stripIndent()
line2="\n*Failed Targets:*".stripIndent()
Expand Down

0 comments on commit aac4f50

Please sign in to comment.