# Jenkins not starting newman

**URL:** <https://community.postman.com/t/jenkins-not-starting-newman/2720>\
**Category:** Help Hub\
**Tags:** jenkins\
**Created:** [September 19, 2018, 12:27pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720 "2018-09-19T12:27:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsateesh](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nsateesh](https://community.postman.com/u/nsateesh)\
**Post date:** [September 19, 2018, 12:27pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/1 "2018-09-19T12:27:05Z")

</div>

> **Archived topic — this may be out of date.**  
> Newman has been replaced by the **[Postman CLI](https://learning.postman.com/docs/postman-cli/postman-cli-overview/)**, Postman’s official, signed command-line tool. It runs collections as Newman did, and also lints API specs, runs mocks and monitors, and syncs local files with Postman from your terminal, CI/CD pipeline or coding agent.  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) lets agents in Claude Code, Cursor, Codex and others design, mock, test and ship APIs with Postman.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

Hi,

I am able to run newman successfully from command line and get the results.

I have created a new Job in Jenkins with build command as “newman run c:\auto\test\_collection.json” and start the build, jenkins console shows the the result is successful, however I dont see test result in console.

Here is the console:

tarted by user [Administrator](http://localhost:8080/user/admin) Building in workspace C:\Users\ven.snarayana.jenkins\workspace\Jenkins\_Newman\_Test [Jenkins\_Newman\_Test] $ c:\windows\system32\cmd.exe -xe C:\Users\VEN~1.SNA\AppData\Local\Temp\jenkins5849775247078634500.sh Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ven.snarayana.jenkins\workspace\Jenkins\_Newman\_Test\>Finished: SUCCESS

please provide any inputs to resolve the issue

Regards,  
Sateesh

---

<div class="post-metadata">

**Author:** ![tkloeber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tkloeber/32/8884_2.png) [@tkloeber](https://community.postman.com/u/tkloeber)\
**Post date:** [September 21, 2018, 6:57am UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/2 "2018-09-21T06:57:07Z")

</div>

Since your Newman test runs in a separate shell (cmd.exe -xe …) its output goes there. The shell is closed after the test is finished and Jenkins simply notes and displays the result.

Try redirecting the output of your Newman test into a file and dump its content after the test. Then you should see the test result in the Jenkins console.

PS: you might want to change the subject of your question because judging by the output you provided your test runs after all!

---

<div class="post-metadata">

**Author:** ![nsateesh](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nsateesh](https://community.postman.com/u/nsateesh)\
**Post date:** [September 25, 2018, 4:06pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/3 "2018-09-25T16:06:53Z")

</div>

Thanks for the reply tkloeber.

I dont see newman starting in a seperate shell. As you suggested I tried to redirect the output to a file, I dont see any output file created , though the Console output in Jenkins shows as SUCCESS.

I have followed the steps mentioned in [https://www.getpostman.com/docs/v6/postman/collection\_runs/integration\_with\_jenkins](https://www.getpostman.com/docs/v6/postman/collection_runs/integration_with_jenkins)

Only difference is in the post linux/mac is mentioned as OS, in my case it is Windows 7.

---

<div class="post-metadata">

**Author:** ![tkloeber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tkloeber/32/8884_2.png) [@tkloeber](https://community.postman.com/u/tkloeber)\
**Post date:** [September 26, 2018, 6:10am UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/4 "2018-09-26T06:10:16Z")

</div>

Can you show us your Jenkins configuration and what commands you’re executing.

---

<div class="post-metadata">

**Author:** ![nsateesh](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nsateesh](https://community.postman.com/u/nsateesh)\
**Post date:** [September 26, 2018, 12:57pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/5 "2018-09-26T12:57:25Z")

</div>

Here is my Jenkins configuration:  
General Description - Test Jenkins and Postman integration  
Source Code Management - None  
Build Triggers - Not selected any option  
Build Environment

- Execute Shell : newman run c:\learn\Loyalty.postman\_collection.json

---

<div class="post-metadata">

**Author:** ![tkloeber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/tkloeber/32/8884_2.png) [@tkloeber](https://community.postman.com/u/tkloeber)\
**Post date:** [September 26, 2018, 1:07pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/6 "2018-09-26T13:07:26Z")

</div>

works fine for me on Linux…

---

<div class="post-metadata">

**Author:** ![nsateesh](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nsateesh](https://community.postman.com/u/nsateesh)\
**Post date:** [September 26, 2018, 1:35pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/7 "2018-09-26T13:35:21Z")

</div>

Is there any other setting that we need to configure in Manage Jenkins-\> Configure System.

---

<div class="post-metadata">

**Author:** ![nsateesh](https://avatars.discourse-cdn.com/v4/letter/n/9f8e36/32.png) [@nsateesh](https://community.postman.com/u/nsateesh)\
**Post date:** [September 26, 2018, 5:15pm UTC](https://community.postman.com/t/jenkins-not-starting-newman/2720/8 "2018-09-26T17:15:34Z")

</div>

Issue is resolved after changing the Build Environment from “Execute Shell” to “Execute Windows Batch Command”
