diff --git a/Jenkinsfile b/Jenkinsfile index ed132bf14..9ea529349 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -97,11 +97,11 @@ pipeline { steps { script { def packageJson = readJSON file: 'package.json' - env.VERSION = "${packageJson.version}-build${env.BUILD_ID}" + env.VERSION = BRANCH_NAME } sh 'docker-compose build back' sh 'docker login --username $CREDENTIALS_USR --password $CREDENTIALS_PSW $REGISTRY' - sh 'docker push $IMAGE:$BRANCH_NAME' + sh 'docker push back:$BRANCH_NAME' } } }