public class XrayImportBuilder
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
XrayImportBuilderCompatibilityDelegate| Modifier and Type | Class and Description |
|---|---|
static class |
XrayImportBuilder.Descriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
XrayImportBuilder(String serverInstance,
String endpointName,
String projectKey,
String testEnvironments,
String testPlanKey,
String fixVersion,
String importFilePath,
String testExecKey,
String revision,
String importInfo,
String inputInfoSwitcher,
String importToSameExecution)
This constructor is compatible with pipelines projects
"Anyway code run from Pipeline should take any configuration values as literal strings
and make no attempt to perform variable substitution"
|
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public XrayImportBuilder(String serverInstance, String endpointName, String projectKey, String testEnvironments, String testPlanKey, String fixVersion, String importFilePath, String testExecKey, String revision, String importInfo, String inputInfoSwitcher, String importToSameExecution)
serverInstance - the server configuration idendpointName - the endpoint to be usedprojectKey - the project keytestEnvironments - the test environmentstestPlanKey - the test plan keyfixVersion - the fix versionimportFilePath - the path of the result file to be importedtestExecKey - the test execution keyrevision - the revisionimportInfo - the importation info file or json contentinputInfoSwitcher - filePath or fileContent switcherpublic XrayInstance getXrayInstance()
@DataBoundSetter public void setXrayInstance(XrayInstance xrayInstance)
public com.xpandit.xray.model.Endpoint getEndpoint()
@DataBoundSetter public void setEndpoint(com.xpandit.xray.model.Endpoint endpoint)
public String getFormatSuffix()
public String getServerInstance()
public void setServerInstance(String serverInstance)
public void setFormatSuffix(String formatSuffix)
public String getEndpointName()
public void setEndpointName(String endpointName)
public String getProjectKey()
public void setProjectKey(String projectKey)
public String getTestEnvironments()
public void setTestEnvironments(String testEnvironments)
public String getTestPlanKey()
public void setTestPlanKey(String testPlanKey)
public String getFixVersion()
public void setFixVersion(String fixVersion)
public String getImportFilePath()
public void setImportFilePath(String importFilePath)
public String getTestExecKey()
public void setTestExecKey(String testExecKey)
public String getRevision()
public void setRevision(String revision)
public String getImportInfo()
public void setImportInfo(String importInfo)
public String getImportToSameExecution()
public void setImportToSameExecution(String importToSameExecution)
public String getFormatName()
public String getInputInfoSwitcher()
public void setInputInfoSwitcher(String inputInfoSwitcher)
public String defaultFormats()
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepCopyright © 2016–2020. All rights reserved.