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 class
TestingBotBuildWrapper.DescriptorImpl
static class
TestingBotBuildWrapper.ItemListenerImpl
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields Modifier and Type Field Description static String
TB_KEY
static String
TB_SECRET
static String
TESTINGBOT_KEY
static String
TESTINGBOT_SECRET
static String
TESTINGBOT_TUNNEL
-
Constructor Summary
Constructors Constructor Description TestingBotBuildWrapper(String credentialsId, boolean enableSSH)
-
Method Summary
Modifier and Type Method Description String
getCredentialsId()
boolean
isEnableSSH()
protected boolean
migrateCredentials(AbstractProject project)
void
setCredentialsId(String credentialsId)
void
setEnableSSH(boolean enableSSH)
BuildWrapper.Environment
setUp(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:
setUp
in classBuildWrapper
- Throws:
IOException
InterruptedException
-
isEnableSSH
public boolean isEnableSSH()- Returns:
- the enableSSH
-
setEnableSSH
public void setEnableSSH(boolean enableSSH)- Parameters:
enableSSH
- the enableSSH to set
-
migrateCredentials
-