diff --git a/Jenkinsfile b/Jenkinsfile
index f6b4c10088e98e1c298b699d2768503d527bc957..94670941237b674c15fa945440273fdb084ef816 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,6 @@
 node{
     def app
-    def registryProject='127.0.0.1:8083'
+    def registryProject='http://127.0.0.1:8083'
     def image="${registryProject}:version-${env.BUILD_ID}"
 
         stage('Clone') {
@@ -17,7 +17,7 @@ node{
             sh 'docker ps'
         }
         stage('Push on repo nexus')
-            docker.withRegistry('127.0.0.1:8083','reg2'){
+            docker.withRegistry(registryProject,'reg2'){
                 img.push 'latest'
                 img.push
             }