diff --git a/Jenkinsfile b/Jenkinsfile
index 9148c87af3ddcab3493939a622b6d45cc536c48a..ed602acefe02d389239b491ce848e7050b01de1f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -95,8 +95,7 @@ pipeline {
                 anyOf {
                     branch 'master'
                     branch 'release'
-                    branch 'version-2'
-                    branch 'release-v2'
+                    branch 'Version-4'
                 }
             }
             steps {
@@ -141,4 +140,4 @@ String getElementAccessToken() {
     withCredentials([string(credentialsId: 'element-login-json', variable: 'LOGIN_JSON')]) {
         return readJSON ( text: sh (script: '''curl -XPOST -d \"$LOGIN_JSON\" https://matrix.ozg-sh.de/_matrix/client/v3/login''', returnStdout: true)).access_token
     }
-}
\ No newline at end of file
+}