Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya4242 authored May 15, 2024
1 parent 4c1cd51 commit d86416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pipeline {
cd
docker rmi -f divyapatel42/ecommerce-webapp:backendjenkins || true
docker rm -f \$(docker ps -q --filter "publish=5000/tcp")
docker run -d -p 5000:5000 divyapatel42/ecommerce-webapp:backendjenkins
docker run -d -p 8000:8000 divyapatel42/ecommerce-webapp:backendjenkins
"""
// SSH into EC2 instance and pull Docker image
sshagent(['ec2-ssh']) {
Expand Down

0 comments on commit d86416d

Please sign in to comment.