The collection link you have provided is not valid.
Please make sure you have the following configurations before you run newman:
- npm and node installed globally on jenkins.
If not refer to Node Installation
- newman installed globally on the jenkins.
If not
$ npm install -g newman
- please execute the command on shell (not on Windows Batch Command)
- Mention the cli reporter and exitCode to let jenkins know incase of any falure in the command as
$ newman run <your collection goes here> -r cli --exitCode 1
Recommended: Create a node app and run your tests for advanced reporting and easy maintenance. Ex: Sample Newman Node Application with Custom Reporters
newman
installed globally? – Danny Daintonnode
and thennewman
as part of your build process – Harry