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 @@
* Die sprachspezifischen Genehmigungen und Beschränkungen
* unter der Lizenz sind dem Lizenztext zu entnehmen.
*/
@Library('shared-libs') _
@Library('ozgcloud-libs') _
pipeline {
agent {
......@@ -31,7 +31,7 @@ pipeline {
}
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+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = ""
......@@ -213,7 +213,7 @@ pipeline {
post {
failure {
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