Class GooglePlayBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.googleplayandroidpublisher.GooglePlayBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
- Direct Known Subclasses:
ReleaseTrackAssignmentBuilder
@RequiresDomain(AndroidPublisherScopeRequirement.class) public abstract class GooglePlayBuilder extends Builder implements SimpleBuildStep
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected static ThreadLocal<Run<?,?>>
currentBuild
protected static ThreadLocal<TaskListener>
currentListener
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description GooglePlayBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
expand(String value)
protected CredentialsHandler
getCredentialsHandler()
String
getGoogleCredentialsId()
BuildStepMonitor
getRequiredMonitorService()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
setGoogleCredentialsId(String googleCredentialsId)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
currentBuild
protected static final transient ThreadLocal<Run<?,?>> currentBuild
-
currentListener
protected static final transient ThreadLocal<TaskListener> currentListener
-
-
Method Detail
-
setGoogleCredentialsId
@DataBoundSetter public void setGoogleCredentialsId(String googleCredentialsId)
-
getGoogleCredentialsId
public final String getGoogleCredentialsId()
-
perform
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getCredentialsHandler
protected CredentialsHandler getCredentialsHandler() throws CredentialsException
- Throws:
CredentialsException
-
expand
protected String expand(String value) throws IOException, InterruptedException
- Returns:
- An expanded value, using the build and environment variables, plus token macro expansion.
- Throws:
IOException
InterruptedException
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
- Overrides:
getRequiredMonitorService
in classBuilder
-
-