Loading jobs/newman/newman.yml +4 −0 Original line number Diff line number Diff line Loading @@ -9,11 +9,15 @@ newman: NEWMAN_GLOBALS_FILE: "" NEWMAN_ADDITIONAL_OPTIONS: "" NEWMAN_JUNIT_REPORT: "newman-report.xml" NEWMAN_EXIT_ON_ERROR: "false" script: - npm install -g newman newman-reporter-junitfull - if [[ ! -z ${NEWMAN_GLOBALS_FILE} ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="-g ${NEWMAN_GLOBALS_FILE}" - fi - if [[ ${NEWMAN_EXIT_ON_ERROR} == "true" ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="--suppress-exit-code" - fi - newman run ${NEWMAN_COLLECTION} -r junitfull --reporter-junitfull-export ${NEWMAN_JUNIT_REPORT} -n 2 ${NEWMAN_ADDITIONAL_OPTIONS} artifacts: reports: Loading Loading
jobs/newman/newman.yml +4 −0 Original line number Diff line number Diff line Loading @@ -9,11 +9,15 @@ newman: NEWMAN_GLOBALS_FILE: "" NEWMAN_ADDITIONAL_OPTIONS: "" NEWMAN_JUNIT_REPORT: "newman-report.xml" NEWMAN_EXIT_ON_ERROR: "false" script: - npm install -g newman newman-reporter-junitfull - if [[ ! -z ${NEWMAN_GLOBALS_FILE} ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="-g ${NEWMAN_GLOBALS_FILE}" - fi - if [[ ${NEWMAN_EXIT_ON_ERROR} == "true" ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="--suppress-exit-code" - fi - newman run ${NEWMAN_COLLECTION} -r junitfull --reporter-junitfull-export ${NEWMAN_JUNIT_REPORT} -n 2 ${NEWMAN_ADDITIONAL_OPTIONS} artifacts: reports: Loading