Skip to content

Commit

Permalink
fix(pipelineRef): add resolvedExpectedArtifacts from pipelineTrigger …
Browse files Browse the repository at this point in the history
…to PipelineRefTrigger
  • Loading branch information
edgarulg committed Dec 11, 2024
1 parent f327686 commit b622066
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ class PipelineRefTriggerDeserializerSupplier(
isStrategy = get("strategy")?.booleanValue() == true,
parentExecutionId = parentExecutionId,
parentPipelineStageId = get("parentPipelineStageId")?.textValue()
)
).apply {
resolvedExpectedArtifacts = get("resolvedExpectedArtifacts")?.listValue(parser) ?: mutableListOf()
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,7 @@ data class PipelineRefTrigger(
isStrategy = isStrategy,
parentExecution = parentExecution,
parentPipelineStageId = parentPipelineStageId
)
).apply {
this.resolvedExpectedArtifacts = this@PipelineRefTrigger.resolvedExpectedArtifacts
}
}

0 comments on commit b622066

Please sign in to comment.