From 2cc16444e0d6a19bec01af3af7525bc6f0c0614d Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Wed, 19 Feb 2020 12:47:35 +0000 Subject: [PATCH] [19.02.20] Trying to fix node issue --- configuration/pipelines/build.groovy | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/configuration/pipelines/build.groovy b/configuration/pipelines/build.groovy index df434f8..ea6ab65 100644 --- a/configuration/pipelines/build.groovy +++ b/configuration/pipelines/build.groovy @@ -79,21 +79,10 @@ try { withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) { def image = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}") image.push() - def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest") - latest.push() +// def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest") +// latest.push() } } - // } - // withCredentials( - // [usernamePassword( - // credentialsId: env.BITBUCKET_CREDENTIALS_ID, - // passwordVariable: 'GIT_PASSWORD', - // usernameVariable: 'GIT_USERNAME' - // )] - // ) { - // sh "git tag ${env.APPLICATION_VERSION}" - // sh "git push https://${GIT_USERNAME}:${GIT_PASSWORD}@${env.GIT_REPOSITORY_PATH} ${env.APPLICATION_VERSION}" - // } } stage('Deploy') {