public class IntegrityItemAction extends hudson.tasks.Notifier implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
IntegrityItemAction.IntegrityItemDescriptorImpl
The relationship of Descriptor and IntegrityItemAction (the describable) is akin to class and
object.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static IntegrityItemAction.IntegrityItemDescriptorImpl |
ITEM_DESCRIPTOR |
Constructor and Description |
---|
IntegrityItemAction() |
Modifier and Type | Method and Description |
---|---|
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> |
getDescriptor()
Return the instance of DescriptorImpl object for this class
|
String |
getFailureValue()
Returns the failure value that will be set when the build has failed
|
String |
getLogField()
Returns the log field associated with the "build" item
|
String |
getQueryDefinition()
Returns the query definition expression
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Returns the build step we're monitoring
|
String |
getServerConfig()
Returns the simple server configuration name
|
String |
getStateField()
Returns the status/state field for the "build" item
|
String |
getSuccessValue()
Returns the success value that will be set when the build is a success
|
String |
getTestCaseTestNameField()
Returns the JUnit Test Name or External ID field for the Test Case
|
String |
getTestFailedVerdictName()
Returns the name for the 'Failed' verdict
|
String |
getTestPassedVerdictName()
Returns the name for the 'Passed' verdict
|
String |
getTestSessionActiveState()
Returns the active State for a Test Session item
|
String |
getTestSessionField()
Returns the Test Session relationship field for the "build" item
|
String |
getTestSessionStateField()
Returns the State field for a Test Session item
|
String |
getTestSessionTestsField()
Returns the Tests field associated with the Test Session item
|
String |
getTestSkippedVerdictName()
Returns the name for the 'Skipped' verdict
|
String |
getTestSuiteContainsField()
Returns the name of the 'Contains' Test Suite structural relationship field
|
boolean |
needsToRunAfterFinalized()
Toggles whether or not this needs to run after build is finalized
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Executes the actual Integrity Update Item operation
|
void |
setFailureValue(String failureValue)
Sets the failure value that will be set when the build has failed
|
void |
setLogField(String logField)
Sets the log field associated with the "build" item
|
void |
setQueryDefinition(String queryDefinition)
Sets the query definition expression to obtain the build item
|
void |
setServerConfig(String serverConfig)
Sets the simple server configuration name
|
void |
setStateField(String stateField)
Sets the status/state field for the "build" item
|
void |
setSuccessValue(String successValue)
Sets the success value that will be used when the build is a success
|
void |
setTestCaseTestNameField(String testCaseTestNameField)
Sets the JUnit Test Name or External ID field for the Test Case
|
void |
setTestFailedVerdictName(String testFailedVerdictName)
Sets the name for the 'Failed' verdict
|
void |
setTestPassedVerdictName(String testPassedVerdictName)
Sets the name for the 'Passed' verdict
|
void |
setTestSessionActiveState(String testSessionActiveState)
Sets the active State for a Test Session item
|
void |
setTestSessionField(String testSessionField)
Sets the Test Session relationship field for the "build" item
|
void |
setTestSessionStateField(String testSessionStateField)
Sets the State field for a Test Session item
|
void |
setTestSessionTestsField(String testSessionTestsField)
Sets the Tests field associated with the Test Session item
|
void |
setTestSkippedVerdictName(String testSkippedVerdictName)
Sets the name for the 'Skipped' verdict
|
void |
setTestSuiteContainsField(String testSuiteContainsField)
Sets the sunfire reports folder for JUnit test results
|
@Extension public static final IntegrityItemAction.IntegrityItemDescriptorImpl ITEM_DESCRIPTOR
public String getServerConfig()
public String getQueryDefinition()
public String getStateField()
public String getSuccessValue()
public String getFailureValue()
public String getLogField()
public String getTestSessionField()
public String getTestSessionStateField()
public String getTestSessionActiveState()
public String getTestSessionTestsField()
public String getTestCaseTestNameField()
public String getTestSuiteContainsField()
public String getTestPassedVerdictName()
public String getTestFailedVerdictName()
public String getTestSkippedVerdictName()
public void setServerConfig(String serverConfig)
serverConfig
- public void setQueryDefinition(String queryDefinition)
queryDefinition
- Query Definition Expressionpublic void setStateField(String stateField)
stateField
- Status/State fieldpublic void setSuccessValue(String successValue)
successValue
- Value to be set when the build is a successpublic void setFailureValue(String failureValue)
failureValue
- Value to be set when the build has failedpublic void setLogField(String logField)
logField
- Log field that is used to store the build logpublic void setTestSessionField(String testSessionField)
public void setTestSessionStateField(String testSessionStateField)
public void setTestSessionActiveState(String testSessionActiveState)
public void setTestSessionTestsField(String testSessionTestsField)
public void setTestCaseTestNameField(String testCaseTestNameField)
public void setTestSuiteContainsField(String testSuiteContainsField)
testResultsDir
- public void setTestPassedVerdictName(String testPassedVerdictName)
public void setTestFailedVerdictName(String testFailedVerdictName)
public void setTestSkippedVerdictName(String testSkippedVerdictName)
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.