Class JenkinsProxySnapshot

java.lang.Object
io.jenkins.plugins.hiddenlayer.JenkinsProxySnapshot
All Implemented Interfaces:
Serializable

public final class JenkinsProxySnapshot extends Object implements Serializable
Serializes Jenkins controller proxy settings so a remote agent can reach HiddenLayer without calling Jenkins.get() (which is null on agents).
See Also:
  • Method Details

    • none

      public static JenkinsProxySnapshot none()
    • fromJenkins

      public static JenkinsProxySnapshot fromJenkins()
    • isConfigured

      public boolean isConfigured()
    • toProxy

      public Proxy toProxy()
    • toAuthenticator

      public okhttp3.Authenticator toAuthenticator()