Is there a way to hook into the Deploy a Package step and get a list of files that were actually deployed? I need to have this info for audit purposes.
Thanks for getting in touch! Octopus doesn’t store this information so you will have to script it yourself.
Please let me know if I can help in any other way.
Thanks for your reply Pawel. I can get to a list of packages related to a release. To actually get the files in these packages, I would have to download the packages and look inside of them. Is this the best way to do what I need to do?
That would definitively work. Another option is to run a custom script step during the deployment and update the list of files then. Unfortunately there is no simple solution here.
OK, I’ll look into this…
If you have any pointers on how I do this, that would be helpful.
You could use
Octopus.Action.Package.InstallationDirectoryPath system variable to get the path to the folder with files and then run a bit of PowerShell e.g.
Get-Item to get a list of files in that folder.
Please let me know how you go.
Thank you Pawel. I’ll get working on this today.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.