public class QualityCenterIntegrationRecorder
extends hudson.tasks.Recorder
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.DescriptorExtensionListImpl| Constructor and Description |
|---|
QualityCenterIntegrationRecorder(String domain,
String project,
String planFolder,
String labFolder,
String userDefinedFields,
boolean noTestResultFail)
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 |
isNoTestResultFail() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public QualityCenterIntegrationRecorder(String domain, String project, String planFolder, String labFolder, String userDefinedFields, boolean noTestResultFail)
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.userDefinedFields - Any additional user defined fields and values that will be
populated when creating new QC test plans.noTestResultFail - If true then builds will be marked as failed when no
test results have been found.public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic String getDomain()
public String getProject()
public String getLabFolder()
public String getPlanFolder()
public boolean isNoTestResultFail()
public String getUserDefinedFields()
public QualityCenterIntegrationRecorder.QualityCenterIntegrationDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.RecorderCopyright © 2016. All rights reserved.