Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
damodaranj authored Aug 7, 2022
1 parent 2de5f08 commit 617d76b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ node{
sh 'docker push saidamo/myweb:0.0.2'
}
stage('Nexus Image Push'){
sh "docker login -u admin -p admin123 3.110.103.230:8083"
sh "docker tag saidamo/myweb:0.0.2 3.110.103.230:8083/damo:1.0.0"
sh 'docker push 3.110.103.230:8083/damo:1.0.0'
sh "docker login -u admin -p admin123 3.109.217.180:8083"
sh "docker tag saidamo/myweb:0.0.2 3.109.217.180:8083/damo:1.0.0"
sh 'docker push 3.109.217.180:8083/damo:1.0.0'
}
stage('Remove Previous Container'){
try{
Expand Down

0 comments on commit 617d76b

Please sign in to comment.