To download the build artifacts from Artifactory, we will use the File Specs. The File Specs code looks as follows:
"files": [ { "pattern": "[Mandatory]", "target": "[Mandatory]", "props": "[Optional]", "recursive": "[Optional, Default: 'true']", "flat" : "[Optional, Default: 'true']", "regexp": "[Optional, Default: 'false']" } ]
The following table describes the various parameters used:
Parameters |
Description |
pattern |
[Mandatory] Specifies the local filesystem path to artifacts that should be uploaded to Artifactory. You can specify multiple artifacts by using wildcards or a regular expression as designated by the regexp property. If you use a regexp, you need to escape any reserved ... |