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
-
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.LegacyInstancesAreScopedToHudson -
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) 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, prebuild
-
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
-
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
-
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)
-