1.

How to configure inclusions & exclusions in Artifacts Archival?

Answer»

ARTIFACT archival TAKES in a pattern for matching target files. Similarly, it also takes in a pattern (ANT BUILD system pattern for matching files) for exclusion as WELL which will be ignored while selecting the files for archival.

For e.g.
archiveArtifacts artifacts: 'output/*.txt', excludes: 'output/specific_file.txt'

The above command will archive all the TEXT files from the output folder except specific_file.txt



Discussion

No Comment Found