public class MavenSnapshotCheck
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MavenSnapshotCheck.DescriptorImpl
Descriptor for
MavenSnapshotCheck. |
| 构造器和说明 |
|---|
MavenSnapshotCheck(boolean check) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
getCheck() |
MavenSnapshotCheck.DescriptorImpl |
getDescriptor() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
traditional job
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener)
pipeline plugin
|
void |
setCheck(boolean check) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic boolean getCheck()
@DataBoundSetter public void setCheck(boolean check)
public MavenSnapshotCheck.DescriptorImpl getDescriptor()
getDescriptor 在接口中 hudson.model.Describable<hudson.tasks.Builder>getDescriptor 在类中 hudson.tasks.Builderpublic boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform 在接口中 hudson.tasks.BuildStepperform 在类中 hudson.tasks.BuildStepCompatibilityLayerbuild - launcher - listener - public void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener taskListener) throws InterruptedException, IOException
perform 在接口中 jenkins.tasks.SimpleBuildSteprun - workspace - launcher - taskListener - InterruptedExceptionIOExceptionCopyright © 2016–2019. All rights reserved.