diff --git a/Jenkinsfile b/Jenkinsfile
index f9e8873fa4f1f06f332c823ee07773fc78727116..f2b95750272106c21b12414de5a328ed54162567 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,7 +30,7 @@ pipeline {
     }
 
     environment {
-        BLUE_OCEAN_URL = "https://jenkins.infra.ozg-cloud.systems/job/ozgcloud-app-elster-transfer/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/"
+        BLUE_OCEAN_URL = "https://jenkins.infra.ozg-cloud.systems/job/codeSH_elster-transfer/job/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/"
         RELEASE_REGEX = /\d+.\d+.\d+/
         SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
         FAILED_STAGE = ""
@@ -100,7 +100,7 @@ pipeline {
 
         stage('Trigger Dev rollout') {
             when {
-                branch 'master'
+                branch 'main'
             }
             steps {
                 script {
@@ -136,7 +136,7 @@ pipeline {
     post {
         failure {
             script {
-                if (isMasterBranch() || isReleaseBranch()) {
+                if (isMainBranch() || isReleaseBranch()) {
                     sendFailureMessage()
                 }
             }
@@ -149,8 +149,8 @@ Boolean isReleaseBranch() {
     return env.BRANCH_NAME == 'release'
 }
 
-Boolean isMasterBranch() {
-    return env.BRANCH_NAME == 'master'
+Boolean isMainBranch() {
+    return env.BRANCH_NAME == 'main'
 }
 
 void deployHelmChart(String helmChartName, String helmChartVersion) {       
@@ -258,7 +258,7 @@ Void sendFailureMessage() {
                     "format": "org.matrix.custom.html", \
                     "formatted_body":"Elster-Transfer: Build Failed. Stage: ${FAILED_STAGE} Build-ID: <a href='${BLUE_OCEAN_URL}'>${env.BUILD_NUMBER}</a>"}"""
        
-    if (isMasterBranch()) {
+    if (isMainBranch()) {
         room = "!iQPAvQIiRwRpNOszjw:matrix.ozg-sh.de"
     }
     else if (isReleaseBranch()) {