1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/documentation/docs/steps/newmanExecute.md

37 lines
542 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.
## ${docJenkinsPluginDependencies}
2019-05-24 15:41:49 +02:00
## 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
```