diff --git a/Jenkinsfile b/Jenkinsfile index a1a0c73..08d2953 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ node('haimaxy-jnlp') { stage('Push') { echo "4.Push Docker Image Stage" withCredentials([usernamePassword(credentialsId: 'harbor', passwordVariable: 'harborPassword', usernameVariable: 'harborUser')]) { - sh "docker login -u ${harborUser} -p ${harborPassword} 120.78.76.88" + sh "docker login -u ${harborUser} -p ${harborPassword} http://120.78.76.88" sh "docker push 120.78.76.88/cnych/jenkins-demo:${build_tag}" } }