Package org.jenkinsci.plugin.gitea.tasks
Class GiteaAssetPublisher
java.lang.Object
org.jenkinsci.plugin.gitea.tasks.GiteaAssetPublisher
- All Implemented Interfaces:
Describable<GiteaAssetPublisher>,BuildStep,SimpleBuildStep
public class GiteaAssetPublisher
extends Object
implements SimpleBuildStep, Describable<GiteaAssetPublisher>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjectAction(AbstractProject<?, ?> project) Collection<? extends Action> getProjectActions(AbstractProject<?, ?> project) booleanbooleanbooleanbooleanbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) booleanprebuild(AbstractBuild<?, ?> build, BuildListener listener) final voidsetCaseSensitive(boolean caseSensitive) final voidsetDefaultExcludes(boolean defaultExcludes) final voidsetExcludes(String excludes) final voidsetFollowSymlinks(boolean followSymlinks) final voidsetOnlyIfSuccessful(boolean onlyIfSuccessful) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getRequiredMonitorServiceMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
GiteaAssetPublisher
-
-
Method Details
-
getAssets
-
getExcludes
-
setExcludes
-
isOnlyIfSuccessful
public boolean isOnlyIfSuccessful() -
setOnlyIfSuccessful
@DataBoundSetter public final void setOnlyIfSuccessful(boolean onlyIfSuccessful) -
isDefaultExcludes
public boolean isDefaultExcludes() -
setDefaultExcludes
@DataBoundSetter public final void setDefaultExcludes(boolean defaultExcludes) -
isCaseSensitive
public boolean isCaseSensitive() -
setCaseSensitive
@DataBoundSetter public final void setCaseSensitive(boolean caseSensitive) -
isFollowSymlinks
public boolean isFollowSymlinks() -
setFollowSymlinks
@DataBoundSetter public final void setFollowSymlinks(boolean followSymlinks) -
prebuild
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Throws:
InterruptedExceptionIOException
-
perform
public void perform(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getProjectAction
- Specified by:
getProjectActionin interfaceBuildStep
-
getProjectActions
- Specified by:
getProjectActionsin interfaceBuildStep
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<GiteaAssetPublisher>
-