From 3b5c94433687c289381a3477cb7e7f9fe155b167 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 11 Sep 2024 13:54:26 +0200 Subject: [PATCH] feat: refs #6695 try --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c8422ba3d..c19ea1eba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -100,12 +100,12 @@ pipeline { steps { script { def packageJson = readJSON file: 'package.json' - env.VERSION = BRANCH_NAME + env.VERSION = "${packageJson.version}-build${env.BUILD_ID}a" } sh 'docker-compose build back' sh 'docker images' sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY' - sh 'docker push registry.verdnatura.es/back:$BRANCH_NAME' + sh 'docker push $IMAGE:$BRANCH_NAME' } } stage('Stack') {