com.browserstack.automate.ci.jenkins
Class BrowserStackBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by com.browserstack.automate.ci.jenkins.BrowserStackBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class BrowserStackBuildWrapper
extends hudson.tasks.BuildWrapper


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BrowserStackBuildWrapper(String credentialsId, LocalConfig localConfig)
           
 
Method Summary
 OutputStream decorateLogger(hudson.model.AbstractBuild build, OutputStream logger)
           
 String getCredentialsId()
           
 BrowserStackBuildWrapperDescriptor getDescriptor()
           
 LocalConfig getLocalConfig()
           
 void setCredentialsId(String credentialsId)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserStackBuildWrapper

@DataBoundConstructor
public BrowserStackBuildWrapper(String credentialsId,
                                                     LocalConfig localConfig)
Method Detail

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

getDescriptor

public BrowserStackBuildWrapperDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>

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

getLocalConfig

public LocalConfig getLocalConfig()

getCredentialsId

public String getCredentialsId()

setCredentialsId

public void setCredentialsId(String credentialsId)


Copyright © 2004-2016. All Rights Reserved.