Skip to content

Commit

Permalink
refactor : jenkins slack message line
Browse files Browse the repository at this point in the history
  • Loading branch information
heesane committed Nov 28, 2024
1 parent ef9a494 commit d78eb09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ pipeline {
}
success {
slackSend (
message: "성공: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}). 최근 커밋: '${env.GIT_COMMIT_MESSAGE}'",
message: "성공: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}).\n 최근 커밋: '${env.GIT_COMMIT_MESSAGE}'",
)
}
failure {
slackSend (
message: "실패: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}). 최근 커밋: '${env.GIT_COMMIT_MESSAGE}'",
message: "실패: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL}).\n 최근 커밋: '${env.GIT_COMMIT_MESSAGE}'",
)
}
}
Expand Down

0 comments on commit d78eb09

Please sign in to comment.