diff --git a/README.md b/README.md index ced0b01c5..b5082553a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +2023-06-05 This repository has been archived + ### Newman v5 has been released. Check the [migration guide](MIGRATION.md#migrating-from-v4-to-v5) and [changelog](https://github.com/postmanlabs/newman/blob/v5.0.0/CHANGELOG.yaml#L1) for more details.
diff --git a/docker/images/qase-alpine/Dockerfile b/docker/images/qase-alpine/Dockerfile new file mode 100644 index 000000000..609fd4e96 --- /dev/null +++ b/docker/images/qase-alpine/Dockerfile @@ -0,0 +1,3 @@ +FROM postman/newman:alpine + +RUN npm install --global newman-reporter-qase diff --git a/docker/images/qase-alpine/README.md b/docker/images/qase-alpine/README.md new file mode 100644 index 000000000..b0386ad1b --- /dev/null +++ b/docker/images/qase-alpine/README.md @@ -0,0 +1,30 @@ +# newman:qase-alpine + +This image runs newman on node v16 on Alpine with a Qase reporter installed. + +Build the image: + +```terminal +docker build -t postman/newman:qase-alpine --build-arg NEWMAN_VERSION="full semver version" . +``` + +Or get it from [Docker Hub](https://registry.hub.docker.com/u/postman/newman/): + +```terminal +docker pull postman/newman:qase-alpine +``` + +Then run it: + +```terminal +docker --volume="/home/postman/collections:/etc/newman" -t postman/newman:qase-alpine run JSONBlobCoreAPI.json.postman_collection -r qase \ # Enable Qase logger + --reporter-qase-logging \ # Use reporter logger (like debug) + --reporter-qase-projectCode PRJCODE \ # Specify Project Code + --reporter-qase-apiToken \ # Specify API token + --reporter-qase-runId 34 \ # Specify Run ID using CLI parameters + --reporter-qase-runName "..." \ # Specify Run name using CLI parameters + --reporter-qase-runDescription "..." \ # Specify Run description using CLI parameters + -x # WA for issue https://github.com/postmanlabs/newman/issues/2148#issuecomment-665229759 +``` + +Visit the [GitHub](https://github.com/qase-tms/qase-javascript/tree/master/qase-newman) repository of newman-reporter-qase for full details on how to use this reporter.