Skip to content

--clean option does not work. #25409

@toruita

Description

@toruita

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az webapp deploy

Errors:

Paste here the error message you have received. Make sure to remove all sensitive information,
such as user name, password, credential, subscription ID, etc.

To Reproduce:

If explicitly set --clean true. az webapp deploy -g xx -n xx --src-path inner/localnew.zip --target-path /home/site/wwwroot/aaa/ --clean true --debug

OneDeploy deployment succeeded, but the directory of previous existing files not being cleaned up. That is to say, old and new deployed files both existed.

Expected Behavior

Old deployed files should be removed.

Environment Summary

Linux-5.4.0-1103-azure-x86_64-with-glibc2.35 (Cloud Shell), CBL-Mariner/Linux
Python 3.9.14
Installer: RPM

azure-cli 2.45.0

Extensions:
containerapp 0.3.6
spring 1.2.0
ai-examples 0.2.5
ml 2.13.0
ssh 1.1.3

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.Web Appsaz webappapp-service-deploymentneeds-triageThis is a new issue that needs to be triaged to the appropriate team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions