Package testingbot
Class TestingBotBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
testingbot.TestingBotBuildWrapper
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>
public final class TestingBotBuildWrapper extends BuildWrapper
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestingBotBuildWrapper.DescriptorImplstatic classTestingBotBuildWrapper.ItemListenerImplNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields Modifier and Type Field Description static StringTB_KEYstatic StringTB_SECRETstatic StringTESTINGBOT_KEYstatic StringTESTINGBOT_SECRETstatic StringTESTINGBOT_TUNNEL -
Constructor Summary
Constructors Constructor Description TestingBotBuildWrapper(String credentialsId, boolean enableSSH) -
Method Summary
Modifier and Type Method Description StringgetCredentialsId()booleanisEnableSSH()protected booleanmigrateCredentials(AbstractProject project)voidsetCredentialsId(String credentialsId)voidsetEnableSSH(boolean enableSSH)BuildWrapper.EnvironmentsetUp(AbstractBuild build, Launcher launcher, BuildListener listener)Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
-
Field Details
-
TESTINGBOT_KEY
- See Also:
- Constant Field Values
-
TB_KEY
- See Also:
- Constant Field Values
-
TESTINGBOT_SECRET
- See Also:
- Constant Field Values
-
TB_SECRET
- See Also:
- Constant Field Values
-
TESTINGBOT_TUNNEL
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getCredentialsId
-
setCredentialsId
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException- Overrides:
setUpin classBuildWrapper- Throws:
IOExceptionInterruptedException
-
isEnableSSH
public boolean isEnableSSH()- Returns:
- the enableSSH
-
setEnableSSH
public void setEnableSSH(boolean enableSSH)- Parameters:
enableSSH- the enableSSH to set
-
migrateCredentials
-