As I am building on multiple slave nodes I get RPM artifacts from each node. Building on 4 64bit Linux OS, I will get 4 distinct artifacts with the same name. Using ArtifactArchiver will only archive one of those distinct archives and overwrite the previous archived artifact. Considering since each OS may have different versions of libraries one single artifact may not work on all the OS.
Is there a way around this problem that will allow me to archive 4 artifacts with same name?
I am using Jenkins Pipeline and performing the following step
step([$class: 'ArtifactArchiver', artifacts: '*.rpm', excludes: null, fingerprint: true, onlyIfSuccessful: true])
When I was previously using Multi-configuration builds, this was not a problem since each configuration would show their own artifacts.