Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-28 13:23:15 +03:00
parent 399ffa1c54
commit 0d39b94262

View File

@@ -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"
}
}
}