Unable to run a query in jenkins through azure cli plugin

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: azure-cli-plugin
    • None

      I need to run a query in jenkins through azure cli plugin where i need to get the list of device id in iot hub. When i ran in azure vm , it ran well, but when im trying to run in jenkins , it is running long without failing or getting succeeded.

       

      az iot hub query -g resourcegroup --subscription id -n IOTHUBNAME -q "select deviceid from devices"

      *Added azure service principal to jenkins credentials.

       

       

            Assignee:
            Tomer Rosenthal
            Reporter:
            Ram kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: