Skip to content

Commit

Permalink
fix(Jenkins): 슬랙 메시지 개행 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Jun 10, 2024
1 parent 2491ffe commit 006f466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def sendSlackNotification(message, color) {
"attachments": [
{
"color": "${color}",
"text": "${message.replaceAll('"', '\\"').replaceAll('\n', '\\n')}"
"text": "${message.replaceAll('"', '\\"').replaceAll('\n', '\\\\n')}"
}
]
}"""
Expand Down

0 comments on commit 006f466

Please sign in to comment.