Skip to content

Instantly share code, notes, and snippets.

@jordanwalsh23
Created February 17, 2022 03:25
Show Gist options
  • Select an option

  • Save jordanwalsh23/b99658f6c6b7e4ef3b5a44de3080b69d to your computer and use it in GitHub Desktop.

Select an option

Save jordanwalsh23/b99658f6c6b7e4ef3b5a44de3080b69d to your computer and use it in GitHub Desktop.
Bitbucket Pipeline Newman Example
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