I have a Jenkins pipeline.
In stage A, I have a step in which I need to archive or to save my artifacts because I need to reuse those in a different stage on a different slave:
stage('Save artifacts'){
steps {
archiveArtifacts artifacts: '**/**/target/app*.ear'
}
}
Archiving seems to work. I see the artifacts in the UI when the build finishes and can download them. But how can I access/download these artifacts in a later stage?