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.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 inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCheck()
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) traditional jobvoid
pipeline pluginvoid
setCheck
(boolean check) void
setExcludePomFiles
(String excludePomFiles) void
setPomFiles
(String pomFiles) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, 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, getRequiredMonitorService, prebuild
Methods 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:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
perform
traditional job- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in 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:
perform
in 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
-