-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins version 2.124
Azure CLI plugin version 0.7
Azure CLI version 2.0.37 (installed via apt on Ubuntu 16.04)
When trying to use jmespath syntax in the cli plugin, I get the error:
Running: az vm list -g test-resource-group --show-details --query "[?contains(name, 'test-azure-cli')]".[powerState] -o tsv Failure: ERROR: az vm list: error: argument --query: invalid jmespath_type value: '"[?contains(name,' usage: az vm list [-h] [--verbose] [--debug] [--output {json,jsonc,table,tsv}] [--query JMESPATH] [--resource-group RESOURCE_GROUP_NAME] [--show-details] Build step 'azure-cli (2.0.37)' changed build result to FAILURE