diff --git a/Jenkinsfile b/Jenkinsfile index 1b9ca24915c041ba641456564c2a0a342d6dcdb4..186f623b4ca43143dbdf74ad8ddaca574fe7f257 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) } } }