Skip to content

Commit

Permalink
Fix var
Browse files Browse the repository at this point in the history
  • Loading branch information
bsquizz committed Sep 25, 2019
1 parent 513aff7 commit f71b9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vars/deploymentPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ def call(p = [:]) {

def envName = parsed['envConfig']['env']

sendSlackMsg(":information_source: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER$}> started for env *${envName}*")
sendSlackMsg(":information_source: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> started for env *${envName}*")

try {
runDeploy(parsed)
} catch (err) {
sendSlackMsg(":static_rotating_light: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER$}> failed for env *${envName}*", "danger")
sendSlackMsg(":static_rotating_light: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> failed for env *${envName}*", "danger")
throw err
}
sendSlackMsg(":heavy_check_mark: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER$}> successful for env *${envName}*", "good")
sendSlackMsg(":heavy_check_mark: <${env.RUN_DISPLAY_URL}|${env.JOB_NAME} #${env.BUILD_NUMBER}> successful for env *${envName}*", "good")
}

0 comments on commit f71b9c0

Please sign in to comment.