Hi , 

I'm looking for exclude option, looks like exclude is not working, can 
anyone share the working syntax for exclude with zip step?

On Tuesday, March 21, 2017 at 9:33:50 PM UTC+5:30 jer...@bodycad.com wrote:

> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f84217a0-3fbc-4d82-b00e-9dbfaab0713dn%40googlegroups.com.

Reply via email to