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.com',
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?