Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya4242 authored May 14, 2024
1 parent bbd601e commit e738009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pipeline {
script {
// Build Docker image for Node Backend
sh 'whoami'
sh 'node -v'
dockerImage = docker.build("${DOCKER_IMAGE_NAME}:backendjenkins", " ./server")
docker.withRegistry( '', 'docker-id' ) {
dockerImage.push("backendjenkins")
Expand Down

0 comments on commit e738009

Please sign in to comment.