public class QualityCenterIntegrationRecorder
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
Recorder provides a one-way synchroniztion of Maven unit test
 results to HP ALM Quality Center.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
QualityCenterIntegrationRecorder.QualityCenterIntegrationDescriptor  | 
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description | 
|---|
QualityCenterIntegrationRecorder(String domain,
                                String project,
                                String planFolder,
                                String labFolder)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
QualityCenterIntegrationRecorder.QualityCenterIntegrationDescriptor | 
getDescriptor()  | 
String | 
getDomain()  | 
String | 
getLabFolder()  | 
String | 
getPlanFolder()  | 
String | 
getProject()  | 
hudson.tasks.BuildStepMonitor | 
getRequiredMonitorService() | 
String | 
getUserDefinedFields()  | 
boolean | 
isFailOnNoTestResults()  | 
void | 
perform(hudson.model.Run<?,?> build,
       hudson.FilePath filePath,
       hudson.Launcher launcher,
       hudson.model.TaskListener listener)  | 
void | 
setFailOnNoTestResults(boolean failOnNoTestResults)
Setter for optional fail on no test result flag. 
 | 
void | 
setUserDefinedFields(String userDefinedFields)
Setter for optional user defined fields. 
 | 
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public QualityCenterIntegrationRecorder(String domain, String project, String planFolder, String labFolder)
domain - The QC domain.project - The QC project.planFolder - The QC plan folder that test plans shall be created in.labFolder - The QC lab folder that new test sets shall be created in.public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic String getDomain()
public String getProject()
public String getLabFolder()
public String getPlanFolder()
public boolean isFailOnNoTestResults()
@DataBoundSetter public void setFailOnNoTestResults(boolean failOnNoTestResults)
failOnNoTestResults - If true then builds will be marked as failed when no
                            test results have been found.@DataBoundSetter public void setUserDefinedFields(String userDefinedFields)
userDefinedFields - Any additional user defined fields and values that will be
                          populated when creating new QC test plans.public String getUserDefinedFields()
public QualityCenterIntegrationRecorder.QualityCenterIntegrationDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.RecorderCopyright © 2016–2017. All rights reserved.