I want to know how can I check if a file was previously collected as an artifact during a Jenkins groovy pipeline execution?
...
archiveArtifacts artifacts: 'foo.txt', allowEmptyArchive: true
...
// if 'foo.txt' in artifacts: do something
I want to know how can I check if a file was previously collected as an artifact during a Jenkins groovy pipeline execution?
...
archiveArtifacts artifacts: 'foo.txt', allowEmptyArchive: true
...
// if 'foo.txt' in artifacts: do something