Class RpmsReportPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.report.genericdiff.RpmsReportPublisher
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested 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
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionRpmsReportPublisher(int buildstopast, boolean moveunstable, boolean movefailed, boolean moveempty, List<RpmsReportOneRecord> configurations) -
Method Summary
Modifier and TypeMethodDescriptiondoCheckConfigurations(List<RpmsReportOneRecord> configurations) It seems that jenkins is unable to verify repeatble element.doValidateIds(List<RpmsReportOneRecord> configurations) intbooleanbooleanbooleanbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) voidperform(Run<?, ?> run, FilePath workspace, Launcher launcher, TaskListener listener) voidsetBuildstopast(int buildstopast) voidsetConfigurations(List<RpmsReportOneRecord> configurations) voidsetMoveempty(boolean moveempty) voidsetMovefailed(boolean movefailed) voidsetMoveunstable(boolean moveunstable) voidMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
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, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
RpmsReportPublisher
@DataBoundConstructor public RpmsReportPublisher(int buildstopast, boolean moveunstable, boolean movefailed, boolean moveempty, List<RpmsReportOneRecord> configurations)
-
-
Method Details
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
perform
public void perform(@NonNull Run<?, ?> run, @NonNull FilePath workspace, @NonNull Launcher launcher, @NonNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
validateId
public void validateId() -
doCheckConfigurations
public FormValidation doCheckConfigurations(@QueryParameter List<RpmsReportOneRecord> configurations) It seems that jenkins is unable to verify repeatble element. So we cal this manually by validate if -
doValidateIds
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classRecorder
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getConfigurations
-
getBuildstopast
public int getBuildstopast() -
isMovefailed
public boolean isMovefailed() -
isMoveunstable
public boolean isMoveunstable() -
isMoveempty
public boolean isMoveempty() -
setConfigurations
-
setBuildstopast
@DataBoundSetter public void setBuildstopast(int buildstopast) -
setMoveunstable
@DataBoundSetter public void setMoveunstable(boolean moveunstable) -
setMovefailed
@DataBoundSetter public void setMovefailed(boolean movefailed) -
setMoveempty
@DataBoundSetter public void setMoveempty(boolean moveempty)
-