fix access to CHANGE_ID

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-08-27 20:03:00 -04:00
parent 76e9501541
commit 198596d5e6
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ pipeline {
steps { script { steps { script {
slackSend( slackSend(
message: ( message: (
(CHANGE_ID != null ? (env.CHANGE_ID != null ?
"Build PR #${BRANCH_NAME}(${CHANGE_BRANCH}) success! " : "Build PR #${BRANCH_NAME}(${CHANGE_BRANCH}) success! " :
"Build ${params.BUILD_TYPE} success! " "Build ${params.BUILD_TYPE} success! "
)+ )+