Hi, thanks for quick reply.
> the `specific` block is not part of the DSL definition of `copyArtifacts` as > far as I see, but you could use any of the below DSLs: > - > <YOUR_JENKINS_URL>/plugin/job-dsl/api-viewer/index.html#path/javaposse.jobdsl.dsl.helpers.step.StepContext.copyArtifacts-buildSelector-specificBuildSelector > - > https://jenkinsci.github.io/job-dsl-plugin/#path/javaposse.jobdsl.dsl.helpers.step.StepContext.copyArtifacts-buildSelector-buildNumber Well, I use the JobDSL API documentation as provided by our Jenkins server itself, and that one looks a bit different (comments removed): copyArtifacts(String jobName) { buildSelector { buildNumber(int buildNumber) buildNumber(String buildNumber) … specific { buildNumber(String value) } … } … } However, I didn’t spot the first two buildNumber() methods at the top right away, but only the “specific” block. Using it as you suggested indeed fixed the problem. Thanks a lot. Bye… Dirk -- 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e19d957a-6fe7-42ec-8523-7e747445efae%40googlegroups.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_e19d957a-2D6fe7-2D42ec-2D8523-2D7e747445efae-2540googlegroups.com-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=QgJ0YMasLNiWZqA-A8s0hIlUer0VBENhv8VKhHX_Ysw&s=xSv9th28ANcdY1DPdvl1b37kNShZ_S_QTi7WPZVXKXk&e=>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=QgJ0YMasLNiWZqA-A8s0hIlUer0VBENhv8VKhHX_Ysw&s=HaUkocB2TVA6jk3JgeiJ-pn-I8uiBXsHscOoD88YZ60&e=>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/MWHPR15MB1648E9A08FC1F7BE77A2F85CAAF70%40MWHPR15MB1648.namprd15.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.
