Skip to content

Commit

Permalink
chore(bakeManifest): Update BakeManifest error when missing expectedA…
Browse files Browse the repository at this point in the history
…rtifact (spinnaker#3593)
  • Loading branch information
justinrlee authored Apr 14, 2020
1 parent b924ccb commit db3cc93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ public TaskResult execute(@Nonnull StageExecution stage) {

if (expectedArtifacts.size() != 1) {
throw new IllegalArgumentException(
"Exactly one expected artifact must be supplied. Please ensure that your Bake stage"
+ " config's `expectedArtifacts` list contains exactly one artifact.");
"The Bake (Manifest) stage produces one embedded base64 artifact. Please ensure that your Bake (Manifest) stage"
+ " config's `Produces Artifacts` section (`expectedArtifacts` field) contains exactly one artifact.");
}

String outputArtifactName = expectedArtifacts.get(0).getMatchArtifact().getName();
Expand Down

0 comments on commit db3cc93

Please sign in to comment.