Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
olimpiurob authored Dec 13, 2023
1 parent 77a8d0f commit 8e913de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ pipeline {
// sh '''sed -i "s|eeacms/marine-backend|${IMAGE_NAME}|g" devel/Dockerfile'''
sh '''docker build -t ${IMAGE_NAME} .'''
// sh '''docker build -t ${IMAGE_NAME}-devel devel'''
sh '''docker run -i --name=${IMAGE_NAME} -e EXCLUDE="${EXCLUDE}" -e GIT_BRANCH="${CHANGE_TARGET:-$GIT_BRANCH}" ${IMAGE_NAME} /debug.sh tests'''
// sh '''docker run -i --name=${IMAGE_NAME} -e EXCLUDE="${EXCLUDE}" -e GIT_BRANCH="${CHANGE_TARGET:-$GIT_BRANCH}" ${IMAGE_NAME} /debug.sh tests'''
} finally {
sh script: "docker rm -v ${IMAGE_NAME}", returnStatus: true
sh script: "docker rmi ${IMAGE_NAME}", returnStatus: true
sh script: "docker rmi ${IMAGE_NAME}-devel", returnStatus: true
// sh script: "docker rmi ${IMAGE_NAME}-devel", returnStatus: true
}
}
}
Expand Down

0 comments on commit 8e913de

Please sign in to comment.