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

ozg-7493 use ozgcloud-libs

parent 113d75d3
No related branches found
No related tags found
1 merge request!1ozg-7493 add send failure message
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen * Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen. * unter der Lizenz sind dem Lizenztext zu entnehmen.
*/ */
@Library('shared-libs') _ @Library('ozgcloud-libs') _
pipeline { pipeline {
agent { agent {
...@@ -31,7 +31,7 @@ pipeline { ...@@ -31,7 +31,7 @@ pipeline {
} }
environment { environment {
JENKINS_URL = "https://jenkins.infra.ozg-cloud.systems/job/codeSH_operator/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/" PIPELINE_NAME = "Code-SH: operator"
RELEASE_REGEX = /\d+.\d+.\d+/ RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = "" FAILED_STAGE = ""
...@@ -213,7 +213,7 @@ pipeline { ...@@ -213,7 +213,7 @@ pipeline {
post { post {
failure { failure {
script { script {
sendMatrixMessage.sendFailureMessage("Operator: Build Failed. Stage: ${FAILED_STAGE} Build-ID: <a href='${JENKINS_URL}'>${env.BUILD_NUMBER}</a>") 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