Skip to content
Snippets Groups Projects
Commit 82988500 authored by Bastian's avatar Bastian
Browse files

ozg-7493 add send failure message

parent 57ec0b9d
No related branches found
No related tags found
1 merge request!2ozg-7493 add send failure message
......@@ -21,6 +21,9 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen.
*/
@Library('ozgcloud-libs') _
pipeline {
agent {
node {
......@@ -29,7 +32,7 @@ pipeline {
}
environment {
JENKINS_URL = "https://jenkins.infra.ozg-cloud.systems/job/codeSH_processor-manager/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/"
PIPELINE_NAME = "Code-SH: processor-manager"
RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = ""
......@@ -129,6 +132,11 @@ pipeline {
always{
junit testResults: '**/target/surefire-reports/*.xml', skipPublishingChecks: true
}
failure {
script {
sendMatrixMessage.sendFailureMessage(FAILED_STAGE)
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment