diff --git a/Jenkinsfile b/Jenkinsfile
index 93cc53e28ef29b7fc1cbc7af5491031c530a4bea..8749e0e15e73712632307b7e0749cf898924976f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -65,15 +65,7 @@ pipeline {
             steps {
                 script {
                     FAILED_STAGE = env.STAGE_NAME
-                    JAR_TAG = generateImageTag('pom.xml')
-                    deployJarFiles(JAR_TAG)
-                     if (env.BRANCH_NAME == 'master') {
-                        deployJarFiles('snapshot-latest')
-                        
-                    }
-                    else if (env.BRANCH_NAME == 'release') {
-                        deployJarFiles('latest')
-                    }
+                    deployJarFiles()
                 }
                
             }
@@ -264,7 +256,7 @@ Void tagAndPushDockerImage(String imageName, String newTag){
     }
 }
 
-Void deployJarFiles(String jarName){
+Void deployJarFiles(){
      configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
         sh 'mvn --no-transfer-progress -s $MAVEN_SETTINGS -DskipTests deploy -Dmaven.wagon.http.retryHandler.count=3'
      }