diff --git a/vars/jenkinsPipelineSkeleton.groovy b/vars/jenkinsPipelineSkeleton.groovy index 41f617b..4d662ee 100644 --- a/vars/jenkinsPipelineSkeleton.groovy +++ b/vars/jenkinsPipelineSkeleton.groovy @@ -37,11 +37,11 @@ def call(String projectName, Map config) { post { success { echo "Build for '${projectName}' was successful!" - sh 'curl -s -H "Cache: no" -d "${projectName} Build Successful" https://ntfy.konsthol.eu/General' + sh "curl -s -H 'Cache: no' -d '${projectName} Build Successful' https://ntfy.konsthol.eu/General" } failure { echo "Build for '${projectName}' failed!" - sh 'curl -s -H "Cache: no" -d "${projectName} Build Failed" https://ntfy.konsthol.eu/General' + sh "curl -s -H 'Cache: no' -d '${projectName} Build Failed' https://ntfy.konsthol.eu/General" } } }