Trying to create a Task Group using the IIS web app manage task. I have the task configured type set to IIS Application Pool and filled in 2 fields with variables.
Saved the task group.
Then, I wanted to make $(AppCmds) optional. Using the Azure DevOps API (https://dev.azure.com/{our subscription}/{my project collectdion}/_apis/distributedtask/taskgroups/{task group id}?api-version=7.1-preview.1), I updated the $(AppCmd) input parameter with "visibleRule": "AppCmds != ''" like so:
When viewing the Task Group after hitting the refresh button, the IIS web app manage task resets:
Environment type (Please select at least one enviroment where you face this issue)
[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
N/A
Operation system
N/A
Relevant log output
There are no logs.
Full task logs with system.debug enabled
N/A
Repro steps
# Not using YAML, but here is what I'm setting.
steps:
- task: IISWebAppManagementOnMachineGroup@0
displayName: 'Manage IISApplicationPool'
inputs:
IISDeploymentType: IISApplicationPool
AppPoolName: '$(AppPoolName)'
AppCmdCommands: '$(AppCmds)'
New issue checklist
Task name
IIS web app manage
Task version
0.*
Issue Description
Trying to create a Task Group using the IIS web app manage task. I have the task configured type set to IIS Application Pool and filled in 2 fields with variables.
Saved the task group.
Then, I wanted to make $(AppCmds) optional. Using the Azure DevOps API (https://dev.azure.com/{our subscription}/{my project collectdion}/_apis/distributedtask/taskgroups/{task group id}?api-version=7.1-preview.1), I updated the $(AppCmd) input parameter with "visibleRule": "AppCmds != ''" like so:
Posted without issues.
When viewing the Task Group after hitting the refresh button, the IIS web app manage task resets:
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
N/A
Operation system
N/A
Relevant log output
Full task logs with system.debug enabled
N/A
Repro steps