-
Notifications
You must be signed in to change notification settings - Fork 807
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(artifacts): Expected Artifacts should be trigger specific (#4322)
* fix(artifacts): Expected Artifacts should be trigger specific When setting up multiple triggers with different expected artifacts, triggering the pipeline fails if _any_ defined expected artifact is missing, even if it is defined on another trigger. This fix filters the list of expected artifacts to make sure only the artifacts that are relevant for the current trigger is evaluated. * Fix tests in ArtifactUtilsSpec Signed-off-by: Jørgen Jervidalo <jorgen.jervidalo@schibsted.com> * Add expectedArtifactIds to pipeline triggers, add more tests and fix some tests that failed Signed-off-by: Jørgen Jervidalo <jorgen.jervidalo@schibsted.com> * Fix typo Signed-off-by: Jørgen Jervidalo <jorgen.jervidalo@schibsted.com> Signed-off-by: Jørgen Jervidalo <jorgen.jervidalo@schibsted.com>
- Loading branch information
Showing
4 changed files
with
197 additions
and
4 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