The problem is as mentioned in the subject.
Is there anyway to send the msdeploy supported command -skip during deployment? E.g: “-skip:absolutePath=newrelic”.
Hi Erik,
You can set an Octopus variable: Octopus.Action.Azure.PreservePaths
.
This should be a ;
separated list of regexes that will be used to select directories and files to preserve.
e.g.
\\Component.*(\\.*|$)
will preserve any paths beginning with \Component
.
For a little bit of extra detail, see this comment.
Please let me know if this satisfies your requirements?
Regards,
Michael
Thank you for the response.
That variable works like a charm!
Case closed
You’re most welcome Erik.
For anyone else looking for this functionality, I have added a documentation page.