Loading jobs/newman/newman.yml +2 −3 Original line number Diff line number Diff line Loading @@ -9,16 +9,15 @@ newman: NEWMAN_GLOBALS_FILE: "" NEWMAN_ADDITIONAL_OPTIONS: "" NEWMAN_JUNIT_REPORT: "newman-report.xml" NEWMAN_EXIT_ON_ERROR: "false" NEWMAN_FAIL_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 - if [[ ! ${NEWMAN_EXIT_ON_ERROR} == "true" ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="--suppress-exit-code" - fi - echo ${NEWMAN_ADDITIONAL_OPTIONS} - 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 +2 −3 Original line number Diff line number Diff line Loading @@ -9,16 +9,15 @@ newman: NEWMAN_GLOBALS_FILE: "" NEWMAN_ADDITIONAL_OPTIONS: "" NEWMAN_JUNIT_REPORT: "newman-report.xml" NEWMAN_EXIT_ON_ERROR: "false" NEWMAN_FAIL_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 - if [[ ! ${NEWMAN_EXIT_ON_ERROR} == "true" ]]; then - NEWMAN_ADDITIONAL_OPTIONS+="--suppress-exit-code" - fi - echo ${NEWMAN_ADDITIONAL_OPTIONS} - newman run ${NEWMAN_COLLECTION} -r junitfull --reporter-junitfull-export ${NEWMAN_JUNIT_REPORT} -n 2 ${NEWMAN_ADDITIONAL_OPTIONS} artifacts: reports: Loading