Based on my reading of what you have put, it looks like you'd end up with a
zip file called "bin.zip**/some/other/path/bin.zipREADME.md" - is that
definitely what you have in your pipeline?


Richard.

On Wed, Jan 30, 2019 at 7:59 PM Faad Sayaou <[email protected]> wrote:

> Hello,
> I am using the pipeline utility plugín for zipping build results in order
> to do a nexus upload in my pipeline script.
> However, I have a readme.md file in my workspace which i will like to
> include when zipping my build artifacts. I tried the following stages
>
>        stage ('zip stage') {
>
>         zip dir: 'My/path/bin', glob: '', zipFile: 'bin.zip' +
> '**/some/other/path/bin.zip' + 'README.md'
>
> }
>      stage ('nexus') {
>          nexusArtifactUploader artifacts: [[artifactId: 'myID',
>          classifier: '', file: 'bin.zip',
>          type: 'zip']], credentialsId: '*******************************',
>          groupId: 'myGroupID', nexusUrl: 'nexus.c
> <http://nexus.1worldsync.de/>om',
>          nexusVersion: 'nexus3', protocol: 'https', repository: 'Test',
>          version: '1.0.${BUILD_NUMBER}',
> }
>
> the README.md is however not included after checking the uploaded
> artífacts.
>
> Any idea of how to include this file?
>
> --
> 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/9584f089-fe67-451b-912c-c39d9be8bdc8%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/9584f089-fe67-451b-912c-c39d9be8bdc8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAAy0hweTf2dLmZVRix_LAcP2qEUqr5jEayrLUzgfDJ33vog7-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to