-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzureFunctionApp@2
Task version
2
Issue Description
There seems to be an issue around the appsetting -SCM_DO_BUILD_DURING_DEPLOYMENT 0 in the AzureFunctionApp@2 task.
I made certain my template was configured properly, I ruled out any "technical issues" regarding values used for the variables, etc. Adding an additional setting breaks the deployment when combined with "SCM_DO_BUILD_DURING_DEPLOYMENT"
GOOD
appSettings: |
-PartnerConfigSettings $(PartnerConfigSettings)
-SCM_DO_BUILD_DURING_DEPLOYMENT 0
GOOD
appSettings: |
-PartnerConfigSettings $(PartnerConfigSettings)
-LoggerForWebhookCalls $(LoggerName)
FAIL
appSettings: |
-PartnerConfigSettings $(PartnerConfigSettings)
-LoggerForWebhookCalls $(LoggerName)
-SCM_DO_BUILD_DURING_DEPLOYMENT 0
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 11
Relevant log output
##[error]Error: Failed to update App service '***' application settings. Error: BadRequest - Parameter name cannot be empty. (CODE: 400)
Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]