Skip to content

Commit

Permalink
feat(appengine): Support new artifact model in deploy SG (#3008)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie committed Jun 26, 2019
1 parent 9be0a35 commit 6219380
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ class AppEngineServerGroupCreator implements ServerGroupCreator {
Execution execution = stage.getExecution()
if (execution.type == PIPELINE) {
String expectedId = operation.expectedArtifactId?.trim()
if (expectedId) {
Artifact boundArtifact = artifactResolver.getBoundArtifactForId(stage, expectedId)
Artifact expectedArtifact = operation.expectedArtifact
if (expectedId || expectedArtifact) {
Artifact boundArtifact = artifactResolver.getBoundArtifactForStage(stage, expectedId, expectedArtifact)
if (boundArtifact) {
operation.artifact = boundArtifact
} else {
Expand Down

0 comments on commit 6219380

Please sign in to comment.