-
Notifications
You must be signed in to change notification settings - Fork 809
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bake): Lookup artifact details from all upstream stages (#3011)
* fix(bake): Lookup artifact details from all upstream stages Imagine following setup: ``` Pipeline A -> Jenkins job (produces foo.*.deb) -> Run Pipeline B -> Jenkins job (produces bar.*.deb) -> Bake package foo ``` In this case, the package lookup for bake stage will fail to lookup artifact details for `foo.deb` to pass to the bakery. Thus the bakery is free to pick the latest artifact matching the name which can be the wrong artifact. This change allows package look up to traverse up parent pipeline stages, similar to `FindImage` tasks
- Loading branch information
1 parent
60ed2ad
commit e4a8d3f
Showing
5 changed files
with
272 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.