Open
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
No response
Issue Description
With no deployment type defined in AzureFunctionApp@2 inputs the task throws an error.
- task: AzureFunctionApp@2
inputs:
azureSubscription: prod
runtimeStack: "NODE|20"
appType: functionAppLinux
appName: "app1"
package: $(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip
Results in The Deployment Type option does not apply for Linux Consumption.
Reverting to the same configuration on v1 works fine.
- task: AzureFunctionApp@1
inputs:
azureSubscription: prod
runtimeStack: "NODE|20"
appType: functionAppLinux
appName: "app1"
package: $(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip
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
Ubuntu
Relevant log output
The Deployment Type option does not apply for Linux Consumption.
Full task logs with system.debug enabled
No response