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

Google always assign Public IP

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      GoogleComputeEngineTemplateOptions.assignExternalIp defualt is true.
      Disable "Assign Public IP" in the UI does not remove the option

      My suggestion add to the code in JCloudsSlaveTemplate.java line 544

      options.as(GoogleComputeEngineTemplateOptions.class).assignExternalIp(assignPublicIp);

      if (options instanceof GoogleComputeEngineTemplateOptions) {
      {{ // Always use our own credentials and let creation fail}}
      {{ // if no keys are provided.}}
      {{ options.as(GoogleComputeEngineTemplateOptions.class).autoCreateKeyPair(false);}}
      {{ options.as(GoogleComputeEngineTemplateOptions.class).preemptible(isPreemptible);}}
      {{ options.as(GoogleComputeEngineTemplateOptions.class).assignExternalIp(assignPublicIp);}}
      }

       

        Attachments

          Activity

          jonathane Jonathan E created issue -
          felfert Fritz Elfert made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          felfert Fritz Elfert made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          felfert Fritz Elfert made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          felfert Fritz Elfert made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            felfert Fritz Elfert
            Reporter:
            jonathane Jonathan E
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: