Update vars/jenkinsPipelineSkeleton.groovy
This commit is contained in:
@@ -37,9 +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'
|
||||
}
|
||||
failure {
|
||||
echo "Build for '${projectName}' failed!"
|
||||
sh 'curl -s -H "Cache: no" -d "${projectName} Build Failed" https://ntfy.konsthol.eu/General'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user