Skip to content

Commit

Permalink
fix(rrb): Only inject pipeline stage if applicaton + pipelineId prese…
Browse files Browse the repository at this point in the history
…nt (#1729)
  • Loading branch information
ajordens authored Oct 23, 2017
1 parent 0dc3f83 commit ca83613
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class RollingRedBlackStrategy implements Strategy, ApplicationContextAware {
)
}

if (stageData.pipelineBeforeCleanup) {
if (stageData.pipelineBeforeCleanup?.application && stageData.pipelineBeforeCleanup?.pipelineId) {
def serverGroupCoordinates = [
region : source.region,
serverGroupName: source.serverGroupName,
Expand Down

0 comments on commit ca83613

Please sign in to comment.