postmanlabs / newman-orb

CircleCI Orb for running collections with Newman - https://circleci.com/orbs/registry/orb/postman/newman
MIT License
3 stars 9 forks source link

The default value of `persist-exports` not respected #14

Open CodeMan99 opened 1 year ago

CodeMan99 commented 1 year ago

Orb version:

1.0.0

What happened:

The default value (false) of persist-exports did not prevent persist_workspace from executing.

image

Expected behavior:

Only run persist_workspace if the persist-exports value is explicitly true.

Additional Information:

Relevant snippet of my circleci config.

version: 2.1

orbs:
  newman: postman/newman@1.0.0

workflows:
  test:
    jobs:
      - newman/run:
          collection: https://api.getpostman.com/collections/${COLLECTION_ID}?apikey=$POSTMAN_API_KEY
          environment: https://api.getpostman.com/environments/${ENVIRONMENT_ID}?apikey=$POSTMAN_API_KEY
          timeout: "60000"