Package hudson.scm
Class IntegrityCheckinAction
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.scm.IntegrityCheckinAction
- All Implemented Interfaces:
hudson.ExtensionPoint,hudson.model.Describable<hudson.tasks.Publisher>,hudson.tasks.BuildStep,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe relationship of Descriptor and IntegrityCheckpointAction (the describable) is akin to class and object.Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration path for the project to check-in artifacts after the buildReturns the workspace directory containing the check-in artifacts created as a result of the buildReturns the build configuration name for this projecthudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> Return the instance of DescriptorImpl object for this classReturns the Ant-style excludes filter for the check-in workspace folderReturns the Ant-style includes filter for the check-in workspace folderhudson.tasks.BuildStepMonitorReturns the build step we're monitoringReturns the simple server configuration namebooleanToggles whether or not this needs to run after build is finalized Returning false, so that a check-in failure will cause a failed buildbooleanperform(hudson.model.AbstractBuild<?, ?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) Executes the actual Integrity Checkpoint operationvoidsetCiConfigPath(String ciConfigPath) Sets the configuration path for the project to check-in artifacts after the buildvoidsetCiWorkspaceDir(String ciWorkspaceDir) Sets the workspace directory containing the check-in artifacts created as a result of the buildvoidsetConfigurationName(String configurationName) Sets the build configuration name for this projectvoidsetExcludes(String excludes) Sets the Ant-style excludes filter for the check-in workspace foldervoidsetIncludes(String includes) Sets the Ant-style includes filter for the check-in workspace foldervoidsetServerConfig(String serverConfig) Sets the simple server configuration nameMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Field Details
-
CHECKIN_DESCRIPTOR
@Extension public static final IntegrityCheckinAction.IntegrityCheckinDescriptorImpl CHECKIN_DESCRIPTOR
-
-
Constructor Details
-
IntegrityCheckinAction
-
-
Method Details
-
getCiConfigPath
Returns the configuration path for the project to check-in artifacts after the build- Returns:
-
getCiWorkspaceDir
Returns the workspace directory containing the check-in artifacts created as a result of the build- Returns:
-
getIncludes
Returns the Ant-style includes filter for the check-in workspace folder- Returns:
-
getExcludes
Returns the Ant-style excludes filter for the check-in workspace folder- Returns:
-
getServerConfig
Returns the simple server configuration name- Returns:
-
getConfigurationName
Returns the build configuration name for this project- Returns:
-
setCiConfigPath
Sets the configuration path for the project to check-in artifacts after the build- Parameters:
ciConfigPath-
-
setCiWorkspaceDir
Sets the workspace directory containing the check-in artifacts created as a result of the build- Parameters:
ciWorkspaceDir-
-
setIncludes
Sets the Ant-style includes filter for the check-in workspace folder- Parameters:
includes-
-
setExcludes
Sets the Ant-style excludes filter for the check-in workspace folder- Parameters:
excludes-
-
setServerConfig
Sets the simple server configuration name- Parameters:
configurationName-
-
setConfigurationName
Sets the build configuration name for this project- Parameters:
configurationName-
-
perform
public boolean perform(hudson.model.AbstractBuild<?, ?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOExceptionExecutes the actual Integrity Checkpoint operation- Specified by:
performin interfacehudson.tasks.BuildStep- Overrides:
performin classhudson.tasks.BuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
needsToRunAfterFinalized
public boolean needsToRunAfterFinalized()Toggles whether or not this needs to run after build is finalized Returning false, so that a check-in failure will cause a failed build- Overrides:
needsToRunAfterFinalizedin classhudson.tasks.Publisher
-
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()Returns the build step we're monitoring- Specified by:
getRequiredMonitorServicein interfacehudson.tasks.BuildStep
-
getDescriptor
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()Return the instance of DescriptorImpl object for this class- Specified by:
getDescriptorin interfacehudson.model.Describable<hudson.tasks.Publisher>- Overrides:
getDescriptorin classhudson.tasks.Notifier
-