Deploy Step - Empty Folder Zip Extraction, Custom Package

Hello,

I discovered some unexpected behavior when deploying a zip (custom package) with an empty folder inside. Namely, the zip will extract folders with contents but not empty folders. Is this by design? If not, can you fix it?

I know it seems odd to have a build with an empty folder. However, we use Octopus for Tomcat JVM deploys, which requires a temp folder on startup. As a workaround, I create a placeholder.txt file in the folder, but this is not the preferred method.

See attached zip for package to reproduce. We are on Octopus version 3.11.6.

Thanks,
Travis

testPackage.1.0.0.0.zip (350 Bytes)

Hi Travis,

Thanks for getting in touch. This is definitely a bug, looks like a regression from a few months ago. I’ve created an issue in our system you can track here: https://github.com/OctopusDeploy/Issues/issues/3265 I’ve got a fix running through our CI system now, and have updated our test suite to make sure we don’t break this again. The fix should be out in our next release in the next few days.

Regards,
Mark

Thanks Mark for the quick reply and proposed fix!

I look forward to the updated version.

Travis Hoffmann

Senior Application Administrator

T 414.312.9162

Advicenthttp://www.advicentsolutions.com/

Follow us: Twitterhttps://twitter.com/advicentfP | LinkedInhttps://www.linkedin.com/company/advicent-solutions | Facebookhttps://www.facebook.com/Advicent
The Compliance Blueprint: Our answer to the DOL Conflict of Interest Rule

[cid:image7b16d9.PNG@75d43c1d.48ad49b5]http://www.advicentsolutions.com/Solutions/The-Compliance-Blueprint

image7b16d9.PNG