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

When Running Gcloud commands on jenkins windows agent getting error like "This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • _unsorted
    • None
    • windows

      Hi Team,

      I Have jenkins Master slave setup where i need to run my powershell script to get vm instances details using gcloud commands from the windows agent and agent itself part of gcloud (i.e  that windows VM part of Gcloud.So i dont need any plugin to authenticate rather i use service account to authenticate to gcloud) so when i run any gcloud commands on that windows agent via jenkins it throwing error like "This may be due to network connectivity issues. Please check your network settings, and the status of the service you are trying to reach."

      Note : But ** when we run same gcloud commands by manually logging to VM windows it seems to be working but when we run via jenkins we are getting error.

            Unassigned Unassigned
            shanmukha511 shanmukha bera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: