You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
Introduce filterRegex parameter for performance report publisher (#4555)
* Update default_pipeline_environment.yml Add filterRegex parameter to jmeter configuration. Set it to an empty string as generated from pipelinesyntax reference in jenkins * Update testsPublishResults.groovy Add the filterRegex param to the publishJmeterReport plugin in testPublishResults * Update documentation to include filterRegex --------- Co-authored-by: Anil Keshav <anil.keshav@sap.com>
This commit is contained in:
@@ -58,24 +58,25 @@ testsPublishResults(
|
||||
|
||||
### jmeter
|
||||
|
||||
| parameter | mandatory | default | possible values |
|
||||
| ----------|-----------|---------|-----------------|
|
||||
| parameter | mandatory | default | possible values |
|
||||
| ----------|-----------|--------------|-----------------|
|
||||
| pattern | no | `'**/*.jtl'` | |
|
||||
| errorFailedThreshold | no | `20` | |
|
||||
| errorUnstableThreshold | no | `10` | |
|
||||
| errorUnstableResponseTimeThreshold | no | `` | |
|
||||
| relativeFailedThresholdPositive | no | `0` | |
|
||||
| relativeFailedThresholdNegative | no | `0` | |
|
||||
| relativeUnstableThresholdPositive | no | `0` | |
|
||||
| relativeUnstableThresholdNegative | no | `0` | |
|
||||
| modeOfThreshold | no | `false` | true, false |
|
||||
| modeThroughput | no | `false` | true, false |
|
||||
| nthBuildNumber | no | `0` | |
|
||||
| configType | no | `PRT` | |
|
||||
| failBuildIfNoResultFile | no | `false` | true, false |
|
||||
| compareBuildPrevious | no | `true` | true, false |
|
||||
| archive | no | `false` | true, false |
|
||||
| allowEmptyResults | no | `true` | true, false |
|
||||
| errorFailedThreshold | no | `20` | |
|
||||
| errorUnstableThreshold | no | `10` | |
|
||||
| errorUnstableResponseTimeThreshold | no | `` | |
|
||||
| relativeFailedThresholdPositive | no | `0` | |
|
||||
| relativeFailedThresholdNegative | no | `0` | |
|
||||
| relativeUnstableThresholdPositive | no | `0` | |
|
||||
| relativeUnstableThresholdNegative | no | `0` | |
|
||||
| modeOfThreshold | no | `false` | true, false |
|
||||
| modeThroughput | no | `false` | true, false |
|
||||
| nthBuildNumber | no | `0` | |
|
||||
| configType | no | `PRT` | |
|
||||
| failBuildIfNoResultFile | no | `false` | true, false |
|
||||
| compareBuildPrevious | no | `true` | true, false |
|
||||
| archive | no | `false` | true, false |
|
||||
| allowEmptyResults | no | `true` | true, false |
|
||||
| filterRegex | no | ' ' | |
|
||||
|
||||
## ${docGenConfiguration}
|
||||
|
||||
|
@@ -481,6 +481,7 @@ steps:
|
||||
active: false
|
||||
jmeter:
|
||||
pattern: '**/*.jtl'
|
||||
filterRegex: ''
|
||||
errorFailedThreshold: 20
|
||||
errorUnstableThreshold: 10
|
||||
errorUnstableResponseTimeThreshold: ''
|
||||
|
@@ -163,7 +163,8 @@ def publishJMeterReport(Map settings = [:]){
|
||||
nthBuildNumber: settings.get('nthBuildNumber'),
|
||||
configType: settings.get('configType'),
|
||||
failBuildIfNoResultFile: settings.get('failBuildIfNoResultFile'),
|
||||
compareBuildPrevious: settings.get('compareBuildPrevious')
|
||||
compareBuildPrevious: settings.get('compareBuildPrevious'),
|
||||
filterRegex: settings.get('filterRegex')
|
||||
)
|
||||
archiveResults(settings.get('archive'), pattern, settings.get('allowEmptyResults'))
|
||||
}
|
||||
|
Reference in New Issue
Block a user