2019-03-26 14:26:21 +02:00
|
|
|
# ${docGenStepName}
|
2018-12-10 12:53:48 +02:00
|
|
|
|
2019-03-26 14:26:21 +02:00
|
|
|
## ${docGenDescription}
|
2018-12-10 12:53:48 +02:00
|
|
|
|
2019-03-26 14:26:21 +02:00
|
|
|
## Prerequisites
|
2018-12-10 12:53:48 +02:00
|
|
|
|
2019-03-26 14:26:21 +02:00
|
|
|
* prepared Postman with a test collection
|
2018-12-10 12:53:48 +02:00
|
|
|
|
2019-03-26 14:26:21 +02:00
|
|
|
## ${docGenParameters}
|
|
|
|
|
|
|
|
## ${docGenConfiguration}
|
|
|
|
|
|
|
|
## Side effects
|
|
|
|
|
|
|
|
Step uses `dockerExecute` inside.
|
|
|
|
|
2019-05-24 15:44:31 +02:00
|
|
|
## ${docJenkinsPluginDependencies}
|
2019-05-24 15:41:49 +02:00
|
|
|
|
2019-03-26 14:26:21 +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
|
|
|
```
|