Skip to content
Snippets Groups Projects
Commit d3e041a6 authored by MOREY Thibault's avatar MOREY Thibault
Browse files

Update Jenkinsfile

parent a146a8d1
No related branches found
No related tags found
No related merge requests found
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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment