Skip to content

Commit

Permalink
[issue-122] - Fix paaaassing profiles to OCP builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobrz committed Jan 20, 2025
1 parent 9287b14 commit bc04b50
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public List<EnvVar> getEnvVars() {
mavenAdditionalArgs = mavenAdditionalArgs.concat(
(Strings.isNullOrEmpty(deploymentStream) ? ""
: String.format(" -Pts.%s-stream.", getWildflyDeploymentVariantFromStream(deploymentStream))
+ deploymentStream));
+ deploymentStream));
}
list.add(new EnvVarBuilder().withName("MAVEN_ARGS_APPEND").withValue(mavenAdditionalArgs).build());
list.add(new EnvVarBuilder().withName("MAVEN_S2I_ARTIFACT_DIRS").withValue(deploymentRelativePath + "target")
Expand Down Expand Up @@ -422,7 +422,7 @@ public List<EnvVar> getEnvVars() {
mavenAdditionalArgs = mavenAdditionalArgs.concat(
(Strings.isNullOrEmpty(deploymentStream) ? ""
: String.format(" -Pts.%s-stream.", getWildflyDeploymentVariantFromStream(deploymentStream))
+ deploymentStream));
+ deploymentStream));
}
if (!Strings.isNullOrEmpty(mavenAdditionalArgs)) {
list.add(new EnvVarBuilder().withName("MAVEN_ARGS_APPEND").withValue(mavenAdditionalArgs).build());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ else if (TestDeploymentProperties.isEapXp6DeploymentsBuildStreamEnabled()) {
mavenAdditionalArgs = mavenAdditionalArgs.concat(
(Strings.isNullOrEmpty(deploymentStream) ? ""
: String.format(" -Pts.%s-stream.", getWildflyDeploymentVariantFromStream(deploymentStream))
+ deploymentStream));
+ deploymentStream));
}
return wildflyHelmChartRelease;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private HelmChartRelease loadRelease(final WildflyHelmChartRelease release) {
mavenAdditionalArgs = mavenAdditionalArgs.concat(
(Strings.isNullOrEmpty(deploymentStream) ? ""
: String.format(" -Pts.%s-stream.", getWildflyDeploymentVariantFromStream(deploymentStream))
+ deploymentStream));
+ deploymentStream));
}
// ok, let's configure the release via the WildflyHelmChartRelease fluent(-ish) API,
// which offers a common reference for both WildFly and EAP (latest)
Expand Down

0 comments on commit bc04b50

Please sign in to comment.