Hello,
I am having difficulties zipping results from a build process in a
jenkins pipeline. As of now, I am getting just an empty zipped directory
called HelloJenkins.zip. The build result is under
*HelloJenkins/bin/release* and I will like to zip the entire zip folder.
Below is my code
stage('build') {
bat '"C:\\Program Files\\dotnet\\dotnet.exe" build
HelloJenkins.sln /p:Configuration=Release /p:Platform=\"Any CPU\"'
}
stage('zip stage') {
bat 'mkdir archive'
zip zipFile: 'HelloJenkins.zip', archive: true, dir:
'archive'
archiveArtifacts artifacts: 'HelloJenkins.zip',
fingerprint: true
}
--
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/1fc7c8d3-669d-49f5-bb70-4358cad05f25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.