Created
September 1, 2018 15:21
-
-
Save autumn-n/95f79f672a9e60305ccba2020aef14cc to your computer and use it in GitHub Desktop.
Configuration of .gitlab-ci.yml for newman (docker)
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
variables: | |
POSTMAN_COLLECTION: https://api.getpostman.com/collections/${c_uid}?apikey=${apiKey} | |
POSTMAN_ENVIRONMENT: https://api.getpostman.com/environments/${e_uid}?apikey=${apiKey} | |
stages: | |
- some_stages | |
- postman | |
postman_job: | |
stage: postman | |
image: wojciechzurek/newman-ci | |
script: | |
- newman run ${POSTMAN_COLLECTION} -e ${POSTMAN_ENVIRONMENT} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment