Thanks Björn
Removing $WORKSPACE/ fixed it.
Best regards
David
From: 'Björn Pedersen' via Jenkins Users
[mailto:jenkinsci-users@googlegroups.com]
Sent: 18 January 2018 12:27
To: Jenkins Users <jenkinsci-users@googlegroups.com>
Subject: Re: Declarative script not archiving art
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