public class IntegrityCheckinAction extends hudson.tasks.Notifier implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IntegrityCheckinAction.IntegrityCheckinDescriptorImpl
The relationship of Descriptor and IntegrityCheckpointAction (the describable) is akin to class
and object.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static IntegrityCheckinAction.IntegrityCheckinDescriptorImpl |
CHECKIN_DESCRIPTOR |
Constructor and Description |
---|
IntegrityCheckinAction(String ciConfigPath,
String ciWorkspaceDir,
String includes,
String excludes,
String serverConfig,
String configurationName) |
Modifier and Type | Method and Description |
---|---|
String |
getCiConfigPath()
Returns the configuration path for the project to check-in artifacts after the build
|
String |
getCiWorkspaceDir()
Returns the workspace directory containing the check-in artifacts created as a result of the
build
|
String |
getConfigurationName()
Returns the build configuration name for this project
|
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
Return the instance of DescriptorImpl object for this class
|
String |
getExcludes()
Returns the Ant-style excludes filter for the check-in workspace folder
|
String |
getIncludes()
Returns the Ant-style includes filter for the check-in workspace folder
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Returns the build step we're monitoring
|
String |
getServerConfig()
Returns the simple server configuration name
|
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
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Executes the actual Integrity Checkpoint operation
|
void |
setCiConfigPath(String ciConfigPath)
Sets the configuration path for the project to check-in artifacts after the build
|
void |
setCiWorkspaceDir(String ciWorkspaceDir)
Sets the workspace directory containing the check-in artifacts created as a result of the build
|
void |
setConfigurationName(String configurationName)
Sets the build configuration name for this project
|
void |
setExcludes(String excludes)
Sets the Ant-style excludes filter for the check-in workspace folder
|
void |
setIncludes(String includes)
Sets the Ant-style includes filter for the check-in workspace folder
|
void |
setServerConfig(String serverConfig)
Sets the simple server configuration name
|
@Extension public static final IntegrityCheckinAction.IntegrityCheckinDescriptorImpl CHECKIN_DESCRIPTOR
public String getCiConfigPath()
public String getCiWorkspaceDir()
public String getIncludes()
public String getExcludes()
public String getServerConfig()
public String getConfigurationName()
public void setCiConfigPath(String ciConfigPath)
ciConfigPath
- public void setCiWorkspaceDir(String ciWorkspaceDir)
ciWorkspaceDir
- public void setIncludes(String includes)
includes
- public void setExcludes(String excludes)
excludes
- public void setServerConfig(String serverConfig)
configurationName
- public void setConfigurationName(String configurationName)
configurationName
- public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier
Copyright © 2016–2024. All rights reserved.