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/2f89c47f-c748-4a80-8390-2fc44de698a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.