zip zipFile: "x64\\Release\\${APPLY_TAG}.zip", dir:
"x64\\Release\\${APPLY_TAG}";
archiveArtifacts artifacts: "x64\\Release\\${APPLY_TAG}.zip", fingerprint:
false, allowEmptyArchive: false, onlyIfSuccessful: true;
This work for me, make sure your path are adapted to the platform (Unix vs
Windows). Not sure about the wildcard, may want to try without and a simple
file to see which part is messing around. I have tryt the archiving of zip
command yet. I do the archiving manually after.
On Tuesday, March 14, 2017 at 2:36:20 AM UTC-4, Baswaraj Malage wrote:
>
> Thanks Jerome for all your suggestion. But, no luck to get files in zip. I
> did use zip directly (I had to separate commands with ,) but did not work
> for me. I might be missing something or jenkins yet to support this feature.
>
> zip zipFile: 'screen.zip', archive: true, dir: 'screenprint', glob:
> '**/*.png'
>
>
> -Baswaraj
>
--
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/6d552215-fefc-4002-8686-3d315cff8f30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.