Class 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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static String userAgent  
      • Fields inherited from class com.saucelabs.saucerest.SauceREST

        accessKey, username
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected static URL buildURL​(String server)  
      boolean equals​(Object obj)  
      int hashCode()  
      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
    • Field Detail

      • userAgent

        protected static final String userAgent
    • Constructor Detail

      • JenkinsSauceREST

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

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object