Skip to content

Commit 5efaeb2

Browse files
committed
Merge branch 'master' into hotfix/exit-sig
2 parents f79e888 + 5cbd731 commit 5efaeb2

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

Jenkinsfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,13 +390,14 @@ try {
390390
}
391391

392392
runtimeComposeFiles = "docker-compose.core.yml:$runtimeComponentComposeFile:docker-compose.elk.yml"
393+
withCredentials([usernamePassword(credentialsId:'packageRegistryCred',usernameVariable:'ARTIFACTORY_USER',passwordVariable:'ARTIFACTORY_TOKEN')]) {
394+
withEnv(["TAG=$inProgressTag", "COMPOSE_FILE=$runtimeComposeFiles"]) {
395+
sh "docker compose build $commonBuildArgs --build-arg RUN_TESTS=true --parallel"
393396

394-
withEnv(["TAG=$inProgressTag", "COMPOSE_FILE=$runtimeComposeFiles"]) {
395-
sh "docker compose build $commonBuildArgs --build-arg RUN_TESTS=true --parallel"
396-
397-
def composeYaml = readYaml(text: shOutput('docker compose config'))
398-
addVcsRefLabels(composeYaml, openmpfRepo, openmpfDockerRepo)
399-
addUserDefinedLabels(composeYaml, customComponentServices, imageUrl, imageVersion, customLabelKey)
397+
def composeYaml = readYaml(text: shOutput('docker compose config'))
398+
addVcsRefLabels(composeYaml, openmpfRepo, openmpfDockerRepo)
399+
addUserDefinedLabels(composeYaml, customComponentServices, imageUrl, imageVersion, customLabelKey)
400+
}
400401
}
401402
}
402403

0 commit comments

Comments
 (0)