Adding files before zipping (pipeline utility plugin Jenkins)

2018-11-15 Thread Faad Sayaou
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

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

2018-11-15 Thread Stuart Rowe
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 f

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

2018-11-15 Thread Faad Sayaou
hi, so here is the thing. I am currently zipping two projects *zip dir: 'directroy/to/my/folder1', glob:'', zipFile: 'folder1.zip' * *zip dir: 'directroy/to/my/folder2', glob:'', zipFile: 'folder2.zip' + 'folder2.zip' + **'path/to/my/readmeFile/README.md'* zipping two folders works fine as expe