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.
For more options, visit https://groups.google.com/d/optout.