fixed jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -39,6 +39,7 @@ pipeline {
|
|||||||
sh 'npm audit'
|
sh 'npm audit'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// stage('Build') {
|
// stage('Build') {
|
||||||
// when {
|
// when {
|
||||||
@@ -63,10 +64,13 @@ pipeline {
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
echo 'Pipeline erfolgreich!',
|
echo 'Pipeline erfolgreich!'
|
||||||
discordSend description: "Running ${env.BUILD_ID} on ${env.JENKINS_URL}", footer: "Building", link: env.BUILD_URL, result: currentBuild.currentResult, title: env.JOB_NAME, webhookURL: "https://discordapp.com/api/webhooks/1389470542691831819/NdMO17sLBG2dplp_-oh6Ff0cbPOoADl0QwXKM9UzduxU44av_ZQkQjKTmpdK7YuwcZDc"}
|
discordSend description: "Running ${env.BUILD_ID} on ${env.JENKINS_URL}", footer: 'Pipeline succeeded', link: env.BUILD_URL, result: currentBuild.currentResult, title: env.JOB_NAME, webhookURL: 'https://discordapp.com/api/webhooks/1389470542691831819/NdMO17sLBG2dplp_-oh6Ff0cbPOoADl0QwXKM9UzduxU44av_ZQkQjKTmpdK7YuwcZDc'
|
||||||
|
}
|
||||||
|
|
||||||
failure {
|
failure {
|
||||||
echo 'Pipeline fehlgeschlagen!',
|
echo 'Pipeline fehlgeschlagen!'
|
||||||
discordSend description: "Running ${env.BUILD_ID} on ${env.JENKINS_URL}", footer: "Building", link: env.BUILD_URL, result: currentBuild.currentResult, title: env.JOB_NAME, webhookURL: "https://discordapp.com/api/webhooks/1389470542691831819/NdMO17sLBG2dplp_-oh6Ff0cbPOoADl0QwXKM9UzduxU44av_ZQkQjKTmpdK7YuwcZDc"}
|
discordSend description: "Running ${env.BUILD_ID} on ${env.JENKINS_URL}", footer: 'Pipeline failed', link: env.BUILD_URL, result: currentBuild.currentResult, title: env.JOB_NAME, webhookURL: 'https://discordapp.com/api/webhooks/1389470542691831819/NdMO17sLBG2dplp_-oh6Ff0cbPOoADl0QwXKM9UzduxU44av_ZQkQjKTmpdK7YuwcZDc'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user