-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PreservePaths not working correctly for Azure Web Apps #3384
Comments
Hi, Thanks, |
We've talked about this among the team and it seems that the updated behavior in the newer version of WebDeploy actually removes the need to use the expression this way. It was documented as a way of stopping ComponentA from removing the files for ComponentB during deployment. The updated WebDeploy only acts on the files under ComponentA's folder now anyway, so you should just have to list the |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our support team so we can triage your issue, and make sure it's handled appropriately. |
Our documentation list an example about Preserving Paths during deployment of an Azure Web App.
The scenario described in the documentation no longer works. If the components are in a common folder and that folder is listed in the Octopus variable then all folders below it are preserved, regardless of any other expressions you add. If you don't list the common folder then it and all of it's children are always removed, even if they are list explicitly to preserve in the expression.
Source http://help.octopusdeploy.com/discussions/problems/53130
The text was updated successfully, but these errors were encountered: