HOWTO Make a project to deploy root-folder with sub-folders and files to a shared network folder

#1

HOWTO Make a project to deploy root-folder with sub-folders and files to a shared network folder.

Please help,

We want to copy a root-folder with sub-folders and files to a shared network folder, but there appears to be no way to do this with Octopus out-of-box. In fact, the word “sub-folder” seems to not be documented anywhere in Octopus.

If there is not a out-of-the-box way to do this, is there a way for Octopus to unzip a ZIP file to a working folder, that a subsequent script would use to then copy the files from?

Please provide screen shots, especially as the word sub-folder seems to not be mentioned anywhere, and even the word folder seems to be rarely denoted in Octopus documentation.

(Justin Walsh) #3

Hi again, @J-S-B!

If you just want to use Octopus to copy the contents of a package to a prescribed location, your best bet would be to use the Deploy a package step template, and then enable the Custom Install Directory feature to specify the UNC path (\\SharedServer\Share\), or your mapped network drive. I’ve included a screenshot of what your deployment step will look like:

Keep in mind that the user that your tentacle is running as will require access to the network share that you are attempting to deploy to.

I hope this helps, and please don’t hesitate to ask if you have any further questions!