Below steps we need to follow to Integrate Our Postman Collections with Jenkins.
Please Refer to this blog before to know how to
integrate Postman collection with Newman before proceeding further.
1) Login
into Jenkins and on Jenkins Home Page create New Jenkins Job and in Pre-Build
Action select Execute Windows batch command for windows system or Execute shall
command in case of MAC OS.
2) In Execute windows batch command give the path of your postman Collection and run using
newman run CollectionName.json
3) Now Execute Jenkins
job, Newman Result will get displayed to Jenkins dashboard.
Keep Learning, Keep Sharing :)