Class JenkinsSauceREST

java.lang.Object
com.saucelabs.saucerest.SauceREST
hudson.plugins.sauce_ondemand.JenkinsSauceREST
All Implemented Interfaces:
Serializable

public class JenkinsSauceREST extends com.saucelabs.saucerest.SauceREST
Jenkins-specific subclass which will open a URL connection using ProxyConfiguration.
Author:
Ross Rowe
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     

    Fields inherited from class com.saucelabs.saucerest.SauceREST

    accessKey, username
  • Constructor Summary

    Constructors
    Constructor
    Description
    JenkinsSauceREST(String username, String accessKey, com.saucelabs.saucerest.DataCenter dataCenter, ProxyConfiguration proxy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static URL
    buildURL(String server)
     
    boolean
     
    int
     
    void
    setServer(String server)
    In the publisher step we need to manually set this as the env var will not be correctly set from earlier and will be the default

    Methods inherited from class com.saucelabs.saucerest.SauceREST

    getAccessKey, getAccountsEndpoint, getAccountsEndpoint, getAccountsEndpoint, getAppServer, getBuildsEndpoint, getBuildsEndpoint, getBuildsEndpoint, getEdsServer, getInsightsEndpoint, getInsightsEndpoint, getInsightsEndpoint, getJobsEndpoint, getJobsEndpoint, getJobsEndpoint, getPerformanceEndpoint, getPerformanceEndpoint, getPerformanceEndpoint, getPlatformEndpoint, getPlatformEndpoint, getPlatformEndpoint, getRealDevicesEndpoint, getRealDevicesEndpoint, getRealDevicesEndpoint, getSauceConnectEndpoint, getSauceConnectEndpoint, getSauceConnectEndpoint, getServer, getStorageEndpoint, getStorageEndpoint, getStorageEndpoint, getUsername

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • userAgent

      protected static final String userAgent
  • Constructor Details

    • JenkinsSauceREST

      public JenkinsSauceREST(String username, String accessKey, com.saucelabs.saucerest.DataCenter dataCenter, ProxyConfiguration proxy)
  • Method Details

    • buildURL

      protected static URL buildURL(String server)
    • setServer

      public void setServer(String server)
      In the publisher step we need to manually set this as the env var will not be correctly set from earlier and will be the default
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object