Unzip Task

Sara's Avatar

Sara

21 Apr, 2017 06:02 AM

Hi,

I added an Unzip step and gave the below as "File toUnzip" field.

When it ran it complained saying,

File C:\Temp\#{Octopus.Action.Package.OriginalFileName} does not exist

Thanks,
Sara

  1. Support Staff 1 Posted by Nick Josevski on 24 Apr, 2017 07:01 AM

    Nick Josevski's Avatar

    Hi Sara,

    Thanks for getting in touch. The unzip step will be relying on a previous step having already deployed a package. That way when the unzip step runs it will have access to the path variables populated earlier.

    It can be a bit tricky to get the variable usage right between steps. We have a great blog post that covers output variables much better than I could in this forum response, it’s available here: https://octopus.com/docs/deploying-applications/variables/output-va... along with this one which has tips for debugging variable problems: https://octopus.com/docs/how-to/debug-problems-with-octopus-variables

    You can also use the variable picker to help you select the right variables, it toggles on via the checkbox on the right of the input field, in your case the “file to unzip”.

    If you’re still having trouble, give us some more details by sending us a screen shot of your project > process page, and the deployment log so we can better troubleshoot.

    Regards,
    Nick

  2. Paul Stovell closed this discussion on 28 Jul, 2017 09:47 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac