diff --git a/documentation/docs/steps/testsPublishResults.md b/documentation/docs/steps/testsPublishResults.md index 32ffdb8c3a..de13825771 100644 --- a/documentation/docs/steps/testsPublishResults.md +++ b/documentation/docs/steps/testsPublishResults.md @@ -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} diff --git a/resources/default_pipeline_environment.yml b/resources/default_pipeline_environment.yml index 7e479dcb50..74825676d6 100644 --- a/resources/default_pipeline_environment.yml +++ b/resources/default_pipeline_environment.yml @@ -481,6 +481,7 @@ steps: active: false jmeter: pattern: '**/*.jtl' + filterRegex: '' errorFailedThreshold: 20 errorUnstableThreshold: 10 errorUnstableResponseTimeThreshold: '' diff --git a/vars/testsPublishResults.groovy b/vars/testsPublishResults.groovy index 501b7e9260..025c7a0ead 100644 --- a/vars/testsPublishResults.groovy +++ b/vars/testsPublishResults.groovy @@ -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')) }