Skip to content

Commit

Permalink
Fix broken docker builds for the migration console that were due to s…
Browse files Browse the repository at this point in the history
…loppy string handling.

Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
  • Loading branch information
gregschohn committed May 18, 2024
1 parent 3b5ba15 commit 2ef33c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TrafficCapture/dockerSolution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ def dockerFilesForExternalServices = [
dockerFilesForExternalServices.each { projectName, dockerImageName ->
def escapedProjectName = projectName;
task("buildDockerImage_${escapedProjectName}", type: DockerBuildImage) {
if (projectName == "migrationConsole") {
def destDir = "src/main/docker/${projectName}/build/jars"
if (escapedProjectName == "migrationConsole") {
def destDir = "src/main/docker/${escapedProjectName}/build/jars"
CommonUtils.copyArtifactFromProjectToProjectsDockerStaging(project as Project,
project(":TrafficCapture:trafficReplayer"), projectName, destDir)
dependsOn "copyArtifact_${projectName}"
dependsOn "copyArtifact_${escapedProjectName}"
dependsOn "buildDockerImage_elasticsearchTestConsole"
}
def hash = calculateDockerHash(projectName)
Expand Down

0 comments on commit 2ef33c6

Please sign in to comment.