hudson.plugins.sauce_ondemand
Class SauceOnDemandBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
hudson.tasks.BuildWrapper
hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>, Serializable
public class SauceOnDemandBuildWrapper
- extends hudson.tasks.BuildWrapper
- implements Serializable
BuildWrapper that sets up the Sauce OnDemand SSH tunnel.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.tasks.BuildWrapper |
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELENIUM_DRIVER
public static final String SELENIUM_DRIVER
- See Also:
- Constant Field Values
SAUCE_ONDEMAND_BROWSERS
public static final String SAUCE_ONDEMAND_BROWSERS
- See Also:
- Constant Field Values
SELENIUM_HOST
public static final String SELENIUM_HOST
- See Also:
- Constant Field Values
SELENIUM_PORT
public static final String SELENIUM_PORT
- See Also:
- Constant Field Values
SELENIUM_STARTING_URL
public static final String SELENIUM_STARTING_URL
- See Also:
- Constant Field Values
ENVIRONMENT_VARIABLE_PATTERN
public static final Pattern ENVIRONMENT_VARIABLE_PATTERN
SauceOnDemandBuildWrapper
@DataBoundConstructor
public SauceOnDemandBuildWrapper(Credentials credentials,
SeleniumInformation seleniumInformation,
String seleniumHost,
String seleniumPort,
boolean enableSauceConnect,
List<String> browsers,
boolean launchSauceConnectOnSlave)
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
- Overrides:
setUp in class hudson.tasks.BuildWrapper
- Throws:
IOException
InterruptedException
getUserName
public String getUserName()
getApiKey
public String getApiKey()
getSeleniumHost
public String getSeleniumHost()
setSeleniumHost
public void setSeleniumHost(String seleniumHost)
getSeleniumPort
public String getSeleniumPort()
setSeleniumPort
public void setSeleniumPort(String seleniumPort)
getCredentials
public Credentials getCredentials()
setCredentials
public void setCredentials(Credentials credentials)
getSeleniumInformation
public SeleniumInformation getSeleniumInformation()
setSeleniumInformation
public void setSeleniumInformation(SeleniumInformation seleniumInformation)
isEnableSauceConnect
public boolean isEnableSauceConnect()
setEnableSauceConnect
public void setEnableSauceConnect(boolean enableSauceConnect)
getBrowsers
public List<String> getBrowsers()
setBrowsers
public void setBrowsers(List<String> browsers)
isLaunchSauceConnectOnSlave
public boolean isLaunchSauceConnectOnSlave()
setLaunchSauceConnectOnSlave
public void setLaunchSauceConnectOnSlave(boolean launchSauceConnectOnSlave)
decorateLogger
public OutputStream decorateLogger(hudson.model.AbstractBuild build,
OutputStream logger)
throws IOException,
InterruptedException,
hudson.model.Run.RunnerAbortedException
- Overrides:
decorateLogger in class hudson.tasks.BuildWrapper
- Throws:
IOException
InterruptedException
hudson.model.Run.RunnerAbortedException
Copyright © 2004-2012. All Rights Reserved.