diff --git a/Jenkinsfile b/Jenkinsfile
index 6bea0018e38d78862c71ffba7e89fbc01bdfff9d..ef44d538b0f0f4cf970a4f323f586c31d43b6f5c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -58,15 +58,9 @@ pipeline {
                         sh 'echo "registry=https://nexus.ozg-sh.de/repository/npm-proxy" >> ~/.npmrc'
                         sh 'echo "//nexus.ozg-sh.de/:_auth=amVua2luczprTSFnNVUhMVQzNDZxWQ==" >> ~/.npmrc'
 
-						sh 'npm cache verify'
+						            sh 'npm cache verify'
                         sh 'npm install'
 
-                        if (isReleaseBranch()) {
-                            sh 'npm run ci-prodBuild'
-                        }
-                        else {
-                            sh 'npm run ci-build'
-                        }
                         if (isMasterBranch()) {
                             withSonarQubeEnv('sonarqube-ozg-sh'){
                                 sh 'npm run ci-sonar'
@@ -74,6 +68,12 @@ pipeline {
                         } else {
                             sh 'npm run ci-test'
                         }
+                        if (isReleaseBranch()) {
+                            sh 'npm run ci-prodBuild'
+                        }
+                        else {
+                            sh 'npm run ci-build'
+                        }
                     }
                 }
             }