Skip to content

Commit

Permalink
fix(cf): use the artifactory link now that we construct it correctly (#…
Browse files Browse the repository at this point in the history
…3709)

Now that Igor can properly construct an Artifactory link, we put it on the server group for use later in Deck.
  • Loading branch information
claymccoy authored and jkschneider committed May 23, 2019
1 parent 84a12a8 commit 1ebd099
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ private static CloudFoundryServerGroup createApplication(
resolvedVersion ->
environmentVars.put(
ServerGroupMetaDataEnvVar.ArtifactVersion.envVarName, resolvedVersion));
Optional.ofNullable(applicationArtifact.getLocation())
.map(
artifactUrl ->
environmentVars.put(
ServerGroupMetaDataEnvVar.ArtifactUrl.envVarName, artifactUrl));
final Map<String, Object> metadata = applicationArtifact.getMetadata();
if (metadata != null) {
final Map<String, String> buildInfo =
Expand Down

0 comments on commit 1ebd099

Please sign in to comment.