Update vars/jenkinsPipelineSkeleton.groovy
This commit is contained in:
@@ -37,11 +37,11 @@ def call(String projectName, Map config) {
|
|||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
echo "Build for '${projectName}' was successful!"
|
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 {
|
failure {
|
||||||
echo "Build for '${projectName}' failed!"
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user