[19.02.20] Trying to fix node issue
This commit is contained in:
parent
1103e4b30f
commit
2cc16444e0
@ -79,21 +79,10 @@ try {
|
|||||||
withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
withDockerRegistry([credentialsId: 'Registry', url: "${env.DOCKER_REPOSITORY_URL}"]) {
|
||||||
def image = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}")
|
def image = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:${env.APPLICATION_VERSION}")
|
||||||
image.push()
|
image.push()
|
||||||
def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
|
// def latest = docker.build("${env.DOCKER_REPOSITORY}/db-gateway:latest")
|
||||||
latest.push()
|
// 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') {
|
stage('Deploy') {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user