From 0752bca9c9d0a4a21e153d2a3a24e3a67a86b087 Mon Sep 17 00:00:00 2001 From: apostolof Date: Sun, 28 Feb 2021 14:06:20 +0200 Subject: [PATCH] refactor: change test image tag based on branch name --- jenkins/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/Jenkinsfile b/jenkins/Jenkinsfile index f7a8f1d..c39e287 100755 --- a/jenkins/Jenkinsfile +++ b/jenkins/Jenkinsfile @@ -128,7 +128,7 @@ pipeline { --net=concordia_ganache_test_network""") { concordiaGanacheTest -> contractsTestsImage = docker.build( - "ecentrics/concordia-contracts-tests:v${contractsPackageVersion}-b${BUILD_NUMBER}-tests", + "ecentrics/concordia-contracts-tests:${BRANCH_NAME}-v${contractsPackageVersion}-b${BUILD_NUMBER}-tests", "-f docker/concordia-contracts/Dockerfile \ ./ \ --target test \ @@ -158,7 +158,7 @@ pipeline { steps { script { appTestsImage = docker.build( - "ecentrics/concordia-app:v${appPackageVersion}-b${BUILD_NUMBER}-tests", + "ecentrics/concordia-app:${BRANCH_NAME}-v${appPackageVersion}-b${BUILD_NUMBER}-tests", "-f docker/concordia-app/Dockerfile \ ./ \ --target test \