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 before_script: - apt-get update -qq && apt-get install -y -qq curl - curl -sL https://deb.nodesource.com/setup_8.x | bash - - apt-get install -y nodejs - npm install newman -g script: - newman run ${POSTMAN_COLLECTION} -e ${POSTMAN_ENVIRONMENT}