Browse Source

Fixed jenkinsfile

Spencer Gardner 7 years ago
parent
commit
032763e8c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jenkinsfile

+ 2 - 2
jenkinsfile

@@ -15,8 +15,8 @@ pipeline{
      			// Shell build step
                 sh """ 
                 docker build . -t $DOCKER_REGISTRY/$DOCKER_USER/$JOB_NAME --pull
-                docker login $DOCKER_REGISTRY/$DOCKER_USER/$JOB_NAME -u $DOCKER_USER -p $DOCKER_PASSWORD
-                docker push docker.snppla.net/snppla/openvpn
+                docker login $DOCKER_REGISTRY/$DOCKER_USER -u $DOCKER_USER -p $DOCKER_PASSWORD
+                docker push $DOCKER_REGISTRY/$DOCKER_USER/$JOB_NAME
                 """ 
     	    }
     	}