Deploy Azure Web App step failed with feature Custom Deployment Scripts
The deploy step used to work with Octopus v2018.7.13
Fails since upgrade to Octopus v2018.8.1
Error configparser.py KeyError: ‘cloud’
File “C:\Users\troyd\AppData\Local\Temp\pip-install-8mvi0rnf\azure-cli-core\azure\cli\core\cloud.py”, line 234, in get_active_cloud_name
configparser.NoSectionError: No section: ‘cloud’
File “C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\Lib\site-packages\knack\config.py”, line 78, in set with open(self.config_path, ‘w’) as configfile:
PermissionError: [Errno 13] Permission denied: ‘D:\Octopus\Work\20180911145023-59778-113\staging\config’
How to recreate:
Add process step: Deploy an Azure Web App
Execute on Worker in Default Worker Pool on behalf of target role: azure -web-app Role
Select a web app Package
Configure features: Custom Deployment Scripts
Create release and deploy to Azure Web Target