Class MavenSnapshotCheck
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
jenkins.plugins.mvn_snapshot_check.MavenSnapshotCheck
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
- Author:
- donghui 2019/4/24.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested 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 TypeMethodDescriptionbooleangetCheck()booleanperform(AbstractBuild build, Launcher launcher, BuildListener listener) traditional jobvoidpipeline pluginvoidsetCheck(boolean check) voidsetExcludePomFiles(String excludePomFiles) voidsetPomFiles(String pomFiles) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
MavenSnapshotCheck
-
-
Method Details
-
getCheck
public boolean getCheck() -
setCheck
@DataBoundSetter public void setCheck(boolean check) -
getPomFiles
-
setPomFiles
-
getExcludePomFiles
-
setExcludePomFiles
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
perform
traditional job- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Parameters:
build- a build this is running as a part oflauncher- a way to start processeslistener- a place to send output
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull EnvVars env, @NonNull Launcher launcher, @NonNull TaskListener listener) pipeline plugin- Specified by:
performin interfaceSimpleBuildStep- Parameters:
run- a build this is running as a part ofworkspace- a workspace to use for any file operationslauncher- a way to start processeslistener- a place to send output
-