Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60347

Unable to run a query in jenkins through azure cli plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 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.

       

       

            torosent Tomer Rosenthal
            ramkumar92 Ram kumar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: