Which Artifacts do Jenkins archive using archiveArtifacts if a job is running parallel jobs on different nodes?
matrix {
axes {
axis {
name 'PLATFORM'
values 'linux', 'mac', 'windows'
}
}
agent {label 'PLATFORM'}
stages {
stage('build-and-test') {
// create artifacts in env.WORKSPACE/delivery/
archiveArtifacts artifacts: env.WORKSPACE + 'delivery/**'
}
}
}
In this case there could be identical or different artifacts with same names. Do Jenkins store all of them? Which artifacts are we going to see on the Jobs page under "Last Successful Artifacts"?