Thanks Björn Removing $WORKSPACE/ fixed it.
Best regards David From: 'Björn Pedersen' via Jenkins Users [mailto:[email protected]] Sent: 18 January 2018 12:27 To: Jenkins Users <[email protected]> Subject: Re: Declarative script not archiving artefacts always { archiveArtifacts artifacts: '$WORKSPACE/RegressionTests/**/*.zip' The artifacts should be specified relative to the workspace, so the $WORKSPACE/ seems wrong. archiveArtifact will not archive files outside the current workspace Björn -- 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/26229d4c-7cdc-46e5-b5c2-2b1221bcd69e%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/26229d4c-7cdc-46e5-b5c2-2b1221bcd69e%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. Click here<https://www.mailcontrol.com/sr/lJCOTQB8zz3GX2PQPOmvUkjDae7bB5IgDBZmDc!jevdU65W!10TINzac!Wt8ul!pqMM7EKjmCeKZDddCOqP2wA==> to report this email as spam. -- 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/1f72264450a04959bdd226e927fe19de%40EUX13SRV1.EU.NEC.COM. For more options, visit https://groups.google.com/d/optout.
