public class AbstractTestLinkBuilder
extends hudson.tasks.Builder
Modifier and Type | Field and Description |
---|---|
protected List<hudson.tasks.BuildStep> |
afterIteratingAllTestCasesBuildSteps
List of build steps that are executed after iterating all test cases.
|
protected List<hudson.tasks.BuildStep> |
beforeIteratingAllTestCasesBuildSteps
List of build steps that are executed before iterating all test cases.
|
protected String |
buildName
The name of the Build.
|
protected String |
customFields
Comma separated list of custom fields to download from TestLink.
|
protected ExecutionOrderComparator |
executionOrderComparator
Used to sort test cases marked as automated.
|
protected Boolean |
failedTestsMarkBuildAsFailure
If the plug-in should mark the Build in Jenkins as failure if it contains failed tests.
|
protected Boolean |
failIfNoResults
Fail the build if no test results are present.
|
protected Boolean |
failOnNotRun
Create failure if any of the tests are set as not-run
|
protected boolean |
failure
Flag to check if any failure happened.
|
protected List<hudson.tasks.BuildStep> |
iterativeBuildSteps
List of build steps that are executed for each test case.
|
protected String |
platformName
The platform name.
|
protected List<hudson.tasks.BuildStep> |
singleBuildSteps
List of build steps that are executed only once per job execution.
|
protected String |
testLinkName
The name of the TestLink installation.
|
protected String |
testPlanCustomFields
Comma separated list of test plan custom fields to download from TestLink.
|
protected String |
testPlanName
The name of the Test Plan.
|
protected String |
testProjectName
The name of the Test Project.
|
protected Boolean |
transactional
If this property is true, not more build steps are executed for this Build.
|
Constructor and Description |
---|
AbstractTestLinkBuilder(String testLinkName,
String testProjectName,
String testPlanName,
String platformName,
String buildName,
String customFields,
Boolean executionStatusNotRun,
Boolean executionStatusPassed,
Boolean executionStatusFailed,
Boolean executionStatusBlocked,
List<hudson.tasks.BuildStep> singleBuildSteps,
List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps,
List<hudson.tasks.BuildStep> iterativeBuildSteps,
List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps,
Boolean transactional,
Boolean failedTestsMarkBuildAsFailure,
Boolean failIfNoResults,
Boolean failOnNotRun,
List<ResultSeeker> resultSeekers)
Deprecated.
|
AbstractTestLinkBuilder(String testLinkName,
String testProjectName,
String testPlanName,
String platformName,
String buildName,
String customFields,
List<hudson.tasks.BuildStep> singleBuildSteps,
List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps,
List<hudson.tasks.BuildStep> iterativeBuildSteps,
List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps,
Boolean transactional,
Boolean failedTestsMarkBuildAsFailure,
Boolean failIfNoResults,
Boolean failOnNotRun,
List<ResultSeeker> resultSeekers)
Deprecated.
to add test plan custom fields
|
AbstractTestLinkBuilder(String testLinkName,
String testProjectName,
String testPlanName,
String platformName,
String buildName,
String customFields,
String testPlanCustomFields,
List<hudson.tasks.BuildStep> singleBuildSteps,
List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps,
List<hudson.tasks.BuildStep> iterativeBuildSteps,
List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps,
Boolean transactional,
Boolean failedTestsMarkBuildAsFailure,
Boolean failIfNoResults,
Boolean failOnNotRun,
List<ResultSeeker> resultSeekers)
Create a AbstractTestLinkBuilder.
|
all, getDescriptor, getRequiredMonitorService, prebuild
protected final String testLinkName
protected final String testProjectName
protected final String testPlanName
protected String buildName
protected final String platformName
protected final String customFields
protected final String testPlanCustomFields
protected final List<hudson.tasks.BuildStep> singleBuildSteps
protected final List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps
protected final List<hudson.tasks.BuildStep> iterativeBuildSteps
protected final List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps
protected final Boolean transactional
protected final Boolean failedTestsMarkBuildAsFailure
protected final Boolean failIfNoResults
protected final Boolean failOnNotRun
protected final ExecutionOrderComparator executionOrderComparator
protected boolean failure
public AbstractTestLinkBuilder(String testLinkName, String testProjectName, String testPlanName, String platformName, String buildName, String customFields, String testPlanCustomFields, List<hudson.tasks.BuildStep> singleBuildSteps, List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps, List<hudson.tasks.BuildStep> iterativeBuildSteps, List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps, Boolean transactional, Boolean failedTestsMarkBuildAsFailure, Boolean failIfNoResults, Boolean failOnNotRun, List<ResultSeeker> resultSeekers)
public AbstractTestLinkBuilder(String testLinkName, String testProjectName, String testPlanName, String platformName, String buildName, String customFields, List<hudson.tasks.BuildStep> singleBuildSteps, List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps, List<hudson.tasks.BuildStep> iterativeBuildSteps, List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps, Boolean transactional, Boolean failedTestsMarkBuildAsFailure, Boolean failIfNoResults, Boolean failOnNotRun, List<ResultSeeker> resultSeekers)
public AbstractTestLinkBuilder(String testLinkName, String testProjectName, String testPlanName, String platformName, String buildName, String customFields, Boolean executionStatusNotRun, Boolean executionStatusPassed, Boolean executionStatusFailed, Boolean executionStatusBlocked, List<hudson.tasks.BuildStep> singleBuildSteps, List<hudson.tasks.BuildStep> beforeIteratingAllTestCasesBuildSteps, List<hudson.tasks.BuildStep> iterativeBuildSteps, List<hudson.tasks.BuildStep> afterIteratingAllTestCasesBuildSteps, Boolean transactional, Boolean failedTestsMarkBuildAsFailure, Boolean failIfNoResults, Boolean failOnNotRun, List<ResultSeeker> resultSeekers)
testLinkName
- TestLink Installation name.testProjectName
- TestLink Test Project name.testPlanName
- TestLink Test Plan name.platformName
- TestLink Platform name.buildName
- TestLink Build name.customFields
- TestLink comma-separated list of Custom Fields.singleBuildSteps
- List of build steps to execute once for all automated test cases.beforeIteratingAllTestCasesBuildSteps
- Command executed before iterating all test cases.iterativeBuildSteps
- List of build steps to execute for each Automated Test Case.afterIteratingAllTestCasesBuildSteps
- Command executed after iterating all test cases.transactional
- Whether the build's execution is transactional or not.failedTestsMarkBuildAsFailure
- Whether failed tests mark the build as failure or not.failIfNoResults
- If true marks the build as FAILURE.resultSeekers
- List of result seekers.public String getTestLinkName()
public String getTestProjectName()
public String getTestPlanName()
public String getPlatformName()
public String getBuildName()
public String getCustomFields()
public String getTestPlanCustomFields()
public Boolean getExecutionStatusNotRun()
public Boolean getExecutionStatusPassed()
public Boolean getExecutionStatusFailed()
public Boolean getExecutionStatusBlocked()
public List<hudson.tasks.BuildStep> getSingleBuildSteps()
public List<hudson.tasks.BuildStep> getBeforeIteratingAllTestCasesBuildSteps()
public List<hudson.tasks.BuildStep> getIterativeBuildSteps()
public List<hudson.tasks.BuildStep> getAfterIteratingAllTestCasesBuildSteps()
public Boolean getTransactional()
public Boolean getFailedTestsMarkBuildAsUnstable()
public Boolean getFailIfNoResults()
public Boolean getFailOnNotRun()
public List<ResultSeeker> getResultSeekers()
public void setResultSeekers(List<ResultSeeker> resultSeekers)
resultSeekers
- the resultSeekers to setpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
Copyright © 2010–2019 Jenkins. All rights reserved.