Update vars/jenkinsPipelineSkeleton.groovy

This commit is contained in:
2025-05-28 12:54:42 +03:00
parent 4d3bb4125e
commit 399ffa1c54

View File

@@ -37,9 +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'
} }
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'
} }
} }
} }