Created
February 17, 2022 03:25
-
-
Save jordanwalsh23/b99658f6c6b7e4ef3b5a44de3080b69d to your computer and use it in GitHub Desktop.
Bitbucket Pipeline Newman Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| image: postman/newman | |
| pipelines: | |
| default: | |
| - step: | |
| script: | |
| - newman --version | |
| - npm install -g newman-reporter-html | |
| - newman run ./postman/collections/<collection_name>.json -e ./postman/environments/<environment_name>.json --reporters cli,html --reporter-html-export report.html | |
| artifacts: | |
| paths: | |
| - report.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment