Class SauceOnDemandBuildWrapper.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SauceOnDemandBuildWrapper

@Extension public static class SauceOnDemandBuildWrapper.DescriptorImpl extends Descriptor<BuildWrapper>
Plugin descriptor, which adds the plugin details to the Jenkins job configuration page.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<BuildWrapper>
      Returns:
      text to be displayed within Jenkins job configuration
    • getAppiumBrowsers

      public List<com.saucelabs.ci.Browser> getAppiumBrowsers()
      Returns:
      the list of supported Appium browsers
    • getWebDriverBrowsers

      public List<com.saucelabs.ci.Browser> getWebDriverBrowsers()
      Returns:
      the list of supported WebDriver browsers
    • getWebDriverMap

      public Map<String,List<com.saucelabs.ci.Browser>> getWebDriverMap()
      Returns:
      the list of supported WebDriver browsers
    • getSauceConnectVersion

      public String getSauceConnectVersion()
      Returns:
      Sauce Connect version
    • doFillCredentialIdItems

      @POST public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item, @QueryParameter String credentialId)
      Fills the credentials dropdown of the job configuration. Only users allowed to see credentials in the job's context get the list; everybody else only gets the current value (SECURITY-3770).
      Parameters:
      item - the job being configured
      credentialId - the currently selected credentials id
      Returns:
      the list of Sauce credentials the caller may choose from