Represents the arguments available to the org.zowe.jenkins_shared_library.pipelines.generic.GenericPipeline#testGeneric(java.util.Map) method.
Modifiers | Name | Description |
---|---|---|
static java.util.Map |
coberturaDefaults |
Default values provided to cobertura. |
Fields inherited from class | Fields |
---|---|
class org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments |
__$stMC |
Type | Name and description |
---|---|
java.lang.Boolean |
allowMissingJunit If we allow the test stage to bypass junit file check. |
java.util.Map |
cobertura Cobertura report information. |
java.util.List<org.zowe.jenkins_shared_library.pipelines.generic.models.TestReport> |
htmlReports Storage location for any HTML reports generated by your test task. |
java.lang.String |
junit The location of the generated junit output. |
ResultEnum |
resultThreshold Minimum build health needed for this stage to execute. |
Methods inherited from class | Name |
---|---|
class org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments |
org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getIsSkippable(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#isIsSkippable(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getDoesIgnoreSkipAll(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#isDoesIgnoreSkipAll(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setDoesIgnoreSkipAll(boolean), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setIsSkippable(boolean), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getResultThreshold(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setResultThreshold(org.zowe.jenkins_shared_library.pipelines.base.enums.ResultEnum), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getShouldExecute(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setShouldExecute(groovy.lang.Closure), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setStage(groovy.lang.Closure), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getDisplayTimestamp(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#isDisplayTimestamp(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setDisplayTimestamp(boolean), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getDisplayAnsiColor(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#isDisplayAnsiColor(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setDisplayAnsiColor(boolean), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getEnvironment(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setEnvironment(java.util.Map), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setTimeout(org.zowe.jenkins_shared_library.pipelines.base.models.StageTimeout), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getStage(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setBaseDirectory(java.lang.String), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getTimeout(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#invokeMethod(java.lang.String, java.lang.Object), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getMetaClass(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setMetaClass(groovy.lang.MetaClass), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getBaseDirectory(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setProperty(java.lang.String, java.lang.Object), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getProperty(java.lang.String), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getName(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#setName(java.lang.String), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#wait(long, int), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#wait(long), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#wait(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#equals(java.lang.Object), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#toString(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#hashCode(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#getClass(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#notify(), org.zowe.jenkins_shared_library.pipelines.base.arguments.StageArguments#notifyAll() |
Default values provided to cobertura.
This map will be merged with cobertura, preferring cobertura, as the final object passed to the cobertura plugin
[
autoUpdateStability : true,
classCoverageTargets : '85, 80, 75',
conditionalCoverageTargets: '70, 65, 60',
failUnhealthy : false,
failUnstable : false,
fileCoverageTargets : '100, 95, 90',
lineCoverageTargets : '80, 70, 50',
maxNumberOfBuilds : 20,
methodCoverageTargets : '80, 70, 50',
onlyStable : false,
sourceEncoding : 'ASCII',
zoomCoverageChart : false
]
If we allow the test stage to bypass junit file check.
JUnit file is required to determine if test stage is successful or not, and later stages may rely on the test status.
This option allows the pipeline doesn't supply junit file for this test.
Cobertura report information.
Providing this property causes the test stage to capture a cobertura report. The values provided to this map are directly sent to the cobertura plugin. For information about what map options are acceptable, see Jenkins Cobertura Plugin Documentation.
Storage location for any HTML reports generated by your test task. For example, jUnit, or covertura coverage report, etc.
The location of the generated junit output.
This report is required by the test stage. The junit file is used to integrate with Jenkins and mark builds as unstable/failed depending on the test passing status.
Minimum build health needed for this stage to execute.
If the current build health is less than the value specified, the stage will be skipped.
For more information about the skip precedent, see Pipeline.createStage