diff --git a/Jenkinsfile b/Jenkinsfile index 941d21cbbec9c613a80021364a4f3841b3477f9c..bdce783253de36841174276f3889317383c1e32d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -175,9 +175,9 @@ void updateDependencyVersions(String snapshotVersion) { Void sendFailureMessage() { def room = '' def data = """{"msgtype":"m.text", \ - "body":"ozgcloud-common: Build Failed. Stage: ${FAILED_STAGE} Build-ID: ${env.BUILD_NUMBER} Link: ${BLUE_OCEAN_URL}", \ + "body":"ozgcloud-common: Build Failed. Stage: ${FAILED_STAGE} Build-ID: ${env.BUILD_NUMBER} Link: ${JENKINS_URL}", \ "format": "org.matrix.custom.html", \ - "formatted_body":"ozgcloud-common: Build Failed. Stage: ${FAILED_STAGE} Build-ID: <a href='${BLUE_OCEAN_URL}'>${env.BUILD_NUMBER}</a>"}""" + "formatted_body":"ozgcloud-common: Build Failed. Stage: ${FAILED_STAGE} Build-ID: <a href='${JENKINS_URL}'>${env.BUILD_NUMBER}</a>"}""" if (isMainBranch()) { room = "!GjqhmouBtnDbwUkAjx:matrix.ozg-sh.de"