Skip to content

Commit

Permalink
Merge pull request #361 from ivplus/cbeer-patch-1
Browse files Browse the repository at this point in the history
Tag the deploy slack message
  • Loading branch information
camillevilla authored Jul 26, 2021
2 parents 849fa0a + 60cbc2c commit 9c9eefa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ pipeline {
post {
success {
sh '''#!/bin/bash -l
curl -X POST -H 'Content-type: application/json' --data '{"text":"The deploy to prod was successful"}' $SLACK_WEBHOOK_URL
curl -X POST -H 'Content-type: application/json' --data '{"text":"[ivplus/aggregator] The deploy to prod was successful"}' $SLACK_WEBHOOK_URL
'''
}

failure {
sh '''#!/bin/bash -l
curl -X POST -H 'Content-type: application/json' --data '{"text":"The deploy to prod was unsuccessful"}' $SLACK_WEBHOOK_URL
curl -X POST -H 'Content-type: application/json' --data '{"text":"[ivplus/aggregator] The deploy to prod was unsuccessful"}' $SLACK_WEBHOOK_URL
'''
}
}
Expand Down

0 comments on commit 9c9eefa

Please sign in to comment.