Explorar el Código

fixed build number in slack messages

Grant Limberg hace 9 años
padre
commit
5c476391da
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -1,6 +1,6 @@
 #!/usr/bin/env groovy
 #!/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': {
 parallel 'centos7': {
     node('centos7') {
     node('centos7') {
         try {
         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...>)"