1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-06 04:13:55 +02:00
sap-jenkins-library/documentation/docs/steps/newmanExecute.md

35 lines
506 B
Markdown
Raw Normal View History

# ${docGenStepName}
2018-12-10 12:53:48 +02:00
## ${docGenDescription}
2018-12-10 12:53:48 +02:00
## Prerequisites
2018-12-10 12:53:48 +02:00
* prepared Postman with a test collection
2018-12-10 12:53:48 +02:00
## ${docGenParameters}
## ${docGenConfiguration}
## Side effects
Step uses `dockerExecute` inside.
## Exceptions
none
2018-12-10 12:53:48 +02:00
## Example
Pipeline step:
```groovy
newmanExecute script: this
```
2019-01-17 13:36:13 +02:00
This step should be used in combination with `testsPublishResults`:
2018-12-10 12:53:48 +02:00
```groovy
newmanExecute script: this, failOnError: false
2019-01-17 13:36:13 +02:00
testsPublishResults script: this, junit: [pattern: '**/newman/TEST-*.xml']
2018-12-10 12:53:48 +02:00
```