added check if pipeline job was running

This commit is contained in:
2025-07-01 09:56:01 +02:00
parent eee820b39e
commit b57a30338e

1
Jenkinsfile vendored
View File

@@ -62,6 +62,7 @@ pipeline {
post {
if (didRun) {
success {
echo 'Pipeline erfolgreich!'
discordSend description: "Running ${env.BUILD_ID} on ${env.JENKINS_URL}, ${params.GIT_REF}", footer: 'Pipeline succeeded', link: env.BUILD_URL, result: currentBuild.currentResult, title: env.JOB_NAME, webhookURL: 'https://discordapp.com/api/webhooks/1389470542691831819/NdMO17sLBG2dplp_-oh6Ff0cbPOoADl0QwXKM9UzduxU44av_ZQkQjKTmpdK7YuwcZDc'