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 > > > -- 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/bb0ab981-f85b-4ad9-a6ab-f6693f8e1475%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
