Commit 8b915768 authored by Serdar TURKEL's avatar Serdar TURKEL

docker push x3

parent 1538e595
...@@ -47,7 +47,7 @@ pipeline { ...@@ -47,7 +47,7 @@ pipeline {
script { script {
withCredentials([usernamePassword(credentialsId: 'Nexus', usernameVariable: 'USERNAME', passwordVariable: 'USERPASS')]) { withCredentials([usernamePassword(credentialsId: 'Nexus', usernameVariable: 'USERNAME', passwordVariable: 'USERPASS')]) {
sh 'docker login --username $USERNAME --password $USERPASS docker.inity.com.tr' sh 'docker login --username $USERNAME --password $USERPASS docker.inity.com.tr'
sh 'docker push docker.inity.com.tr:9001/springtemplate:latest' sh 'docker push docker.inity.com.tr/repository/docker-images/springtemplate:latest'
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment