Package io.jenkins.plugins.kobiton
Class CredentialsBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- jenkins.tasks.SimpleBuildWrapper
-
- io.jenkins.plugins.kobiton.CredentialsBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class CredentialsBuildWrapper extends SimpleBuildWrapper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.Disposer
-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CredentialsBuildWrapper(String username, Secret apiKey, String standaloneUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApiKey()
Credential
getCredential()
String
getStandaloneUrl()
String
getUsername()
void
setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
-
Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUp
-
Methods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getCredential
public Credential getCredential()
-
getUsername
public String getUsername()
-
getApiKey
public String getApiKey()
-
getStandaloneUrl
public String getStandaloneUrl()
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment)
- Overrides:
setUp
in classSimpleBuildWrapper
-
-