diff --git a/Jenkinsfile b/Jenkinsfile index e7ce22f..633b76d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,14 +49,12 @@ node { stage('Deploy') { echo 'Push to Repo' docker.withRegistry("https://${DOCKER_REGISTRY}", 'docker-registry-robot-web-development') { - /* Push the container to the custom Registry */ customImage.push() } } stage('Cleanup') { echo 'prune and cleanup' - sh 'npm prune' sh 'rm node_modules -rf' sh "docker rmi ${env.DOCKER_NAME} ${DOCKER_REGISTRY}/${env.DOCKER_NAME}" sh 'docker image prune -f'