Browse Source

fixed build number in slack messages

Grant Limberg 8 years ago
parent
commit
5c476391da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -1,6 +1,6 @@
 #!/usr/bin/env groovy
 
-slackSend "Building ${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUM}"
+slackSend "Building ${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUMBER}"
 parallel 'centos7': {
     node('centos7') {
         try {
@@ -55,4 +55,4 @@ parallel 'centos7': {
     }
 }
 
-slackSend "${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUM} Complete (<${env.BUILD_URL}|Show More...>)"
+slackSend "${env.JOB_NAME}/${env.BRANCH_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"