Re: Adding files before zipping (pipeline utility plugin Jenkins)

10 views
Skip to first unread message
Message has been deleted

Stuart Rowe

unread,
Nov 15, 2018, 1:15:41 PM11/15/18
to Jenkins Users
Have you tried copying the README.md into directory/to/my/folder before calling zip?

On Thursday, 15 November 2018 09:38:27 UTC-8, Faad Sayaou wrote:
Hello,
I currently have a pipeline which zips results of a build stage. I have a README.md file which i will like to add in my zip file when uploading to nexus. The file is included during checkout. how do I add this during the zip stage? I tried the approach below but it doesn't add the readme file in my final output folder

zip dir: 'directroy/to/my/folder', glob:'', zipFile: 'folder.zip'  + 'path/to/my/readmeFile/README.md'


Can someone tell me the correct way of doing this?
Thanks


Reply all
Reply to author
Forward
Message has been deleted
0 new messages