Details
-
Suggestion
-
Resolution: Fixed
Description
Let's suppose we have a directory tree that looks like this in this case:
#!bash a | -test | -test1.txt | b | -test | -test2.txt | test | -test3.txt
On Pipelines, it's possible to define recursive artifacts for folders below the specified folder using glob patterns like this:
#!bash artifacts: - test/**
On our directory tree above, this would only fetch the "test3.txt"file
However, it's not possible to use a glob pattern to fetch every folder with the same name under every existing folder recursively, like this:
#!bash artifacts: - **/test
^The validator does not allow a definition like this. In this case, the desired behavior would be to fetch the test1.txt and test2.txt files without having to manually define the artifacts like this:
#!bash artifacts: - a/** - b/**