-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins on Linux, Slave on Windows Server 2016
Using zip do not create the zip-archive file in the workspace and do not produce any log.
The steps ist marked as success be no archive has been created.
As nothing about zip is being log it is difficult for me to put more information about what has failed.
Every path has been verified and writeFile works like a charm on the tested path.
- Please add a verify step at the end of the zip action (that the file has been created).
- Fix this issue
if (fileExists('./Publish/WorkingCopy/Tools')) { zip zipFile:"./Publish/WorkingCopy/Tools.zip", dir:"./Publish/WorkingCopy", glob:"Tools/**/Preload*.*" if (! fileExists('./Publish/WorkingCopy/Tools.zip')) { echo "WARNING: zip command from pipeline failed to create zip." } }
Regards, Éric.