Skip to content

Commit

Permalink
feat(core): Support new artifact model in bake Manifest stage (#3005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie committed Jun 24, 2019
1 parent ac8f4eb commit 12d98df
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ public TaskResult execute(@Nonnull Stage stage) {
inputArtifactsObj.stream()
.map(
p -> {
Artifact a = artifactResolver.getBoundArtifactForId(stage, p.getId());
Artifact a =
artifactResolver.getBoundArtifactForStage(stage, p.getId(), p.getArtifact());
if (a == null) {
throw new IllegalArgumentException(
stage.getExecution().getId()
Expand Down Expand Up @@ -132,5 +133,6 @@ public TaskResult execute(@Nonnull Stage stage) {
protected static class InputArtifactPair {
String id;
String account;
Artifact artifact;
}
}

0 comments on commit 12d98df

Please sign in to comment.