From 9dbb74a50bbb8f8631c375740cd118fed17b61d6 Mon Sep 17 00:00:00 2001 From: Naresh Sekar Date: Mon, 20 Jul 2020 20:36:27 +0530 Subject: [PATCH] readme text update --- README.md | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 017c163..4704b77 100644 --- a/README.md +++ b/README.md @@ -189,14 +189,14 @@ npm run clean-report ``` ## Jenkins Integration with Docker images -Get any of the linux with cypress docker image as the slaves in jenkins and use the same for executing the UI automation with this framework (Sample docker image - `https://hub.docker.com/r/postman/newman/`). From the jenkins bash Execute the following to get the testcases to run, +Get any of the linux with cypress docker image as the slaves in jenkins and use the same for executing the UI automation with this framework (Sample docker image - `https://hub.docker.com/r/postman/newman/`). From the jenkins bash Execute the following to get the testcases to run (Provided newman-run is added to the package.json dependencies), ``` #!/bin/bash -l npm list ls cd npm install -npm run test -- +newman-run -f <./feed/ ``` In Jenkins pipeline, try to add the following snippet to execute the tests, @@ -208,7 +208,7 @@ pipeline { steps { sh 'cd project/' sh 'npm install' - sh 'npm run test -- ' # or custom methods + sh 'newman-run -f <./feed/' # or different files } } } diff --git a/package.json b/package.json index 5916c12..d72b1c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newman-run", - "version": "1.0.2", + "version": "1.1.0", "description": "Run multiple postman collections along with predefined configs using single feed file. Reduces commandline arguments since reporting (allure, json, cli and html) is embeded internally", "main": "index.js", "bin": {