Browse Source

refactor: change test image tag based on branch name

develop
Apostolos Fanakis 4 years ago
parent
commit
0752bca9c9
Signed by: Apostolof GPG Key ID: 8600B4C4163B3269
  1. 4
      jenkins/Jenkinsfile

4
jenkins/Jenkinsfile

@ -128,7 +128,7 @@ pipeline {
--net=concordia_ganache_test_network""") { concordiaGanacheTest -> --net=concordia_ganache_test_network""") { concordiaGanacheTest ->
contractsTestsImage = docker.build( 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 \ "-f docker/concordia-contracts/Dockerfile \
./ \ ./ \
--target test \ --target test \
@ -158,7 +158,7 @@ pipeline {
steps { steps {
script { script {
appTestsImage = docker.build( 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 \ "-f docker/concordia-app/Dockerfile \
./ \ ./ \
--target test \ --target test \

Loading…
Cancel
Save