Skip to content

Commit 5f7e2a1

Browse files
Fix notifcation text
1 parent fa4cbe1 commit 5f7e2a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Jenkinsfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,7 @@ pipeline {
605605
if (BRANCH_NAME == MASTER_BRANCH) {
606606
echo "publishing next to $TEST_NPM_REGISTRY"
607607
sh "npm publish --tag next"
608-
}
609-
else {
608+
b else {
610609
echo "publishing latest to $TEST_NPM_REGISTRY"
611610
sh "npm publish --tag latest"
612611
}
@@ -621,7 +620,7 @@ pipeline {
621620
}
622621
post {
623622
failure {
624-
slackSend (channel: '@matthew.wilson', message: 'Build failed ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)', tokenCredentialId: 'slack-cics-node-dev')
623+
slackSend (channel: '@matthew.wilson', message: "Build failed ${env.JOB_NAME} ${env.BUILD_NUMBER} (<${env.BUILD_URL}|Open>)", tokenCredentialId: 'slack-cics-node-dev')
625624
}
626625
}
627626
}

0 commit comments

Comments
 (0)