Took me a while to find this, so posting it to make it easier to find. CopyArtifact syntax (ok, maybe syntax isn't the correct word for this, but you get the idea)
step ([$class: 'CopyArtifact', projectName: "${jobname}", filter: "dist/${platform}/${targets}", selector: [ $class: 'SpecificBuildSelector', buildNumber: 33], target: '.']); -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/74c47988-5d6d-4afd-9a60-66f2b489ae7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.