Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKoller committed Oct 31, 2023
1 parent b0ece5d commit 4d24ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/rocketSend.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def void call(String webHook, String message, String avatar = null, Boolean rawM
def curlCommand = 'curl ' +
' -X POST "' + webHook + '" ' +
' -H "Content-Type: application/json" ' +
' --data \'' + groovy.json.JsonOutput.toJson(data) \''
' --data \'' + groovy.json.JsonOutput.toJson(data) + '\' '

def returnCode = sh(script: curlCommand, returnStatus: true)

Expand Down

0 comments on commit 4d24ba4

Please sign in to comment.