Status: Open (View Workflow)
Environment:Mac OSX 10.12.6 (64 bit)
Oracle JDK 1.8.0_181
Pipeline Utility Steps 2.6.1
Running Jenkins via SSH from a Windows Server master
The zip pipeline step hangs forever on OSX, apparently because it is trying to ZIP the target output file itself. When the job times out I find a corrupt ZIP file weighing many gigabytes.
I am running zip inside a dir block. The steps are run on a separate node and the resulting zip file should be archived to the master. My pipeline script looks like the following.
I can work around the problem by creating the ZIP outside of the zipped directory.
The same pipeline was running just fine before upgrading Jenkins and the Utility Steps plugin.
I think that this regression may have been introduced by this commit that started using Java NIO in ZipStepExecution
Maybe the canonical path comparison is no longer accurate in all cases.