# Jenkins build fails (newman: required node version \>=10) for newman project Execute Shell newman run

**URL:** <https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047>\
**Category:** Help Hub\
**Tags:** newman-project, ubuntu, jenkins, collection-runner\
**Created:** [November 26, 2020, 2:01pm UTC](https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047 "2020-11-26T14:01:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![snk\_qa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/snk_qa/32/6492_2.png) [@snk\_qa](https://community.postman.com/u/snk_qa)\
**Post date:** [November 26, 2020, 2:01pm UTC](https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047/1 "2020-11-26T14:01:30Z")

</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 trying to run my Postman collection from Jenkins. I have created a freestyle project and in the Build \> Execute Shell - I have given command as below

newman run “[https://www.getpostman.com/collections/5876dd3266bdcecd7596](https://www.getpostman.com/collections/5876dd3266bdcecd7596)”

The Build is failing and I see below console output:

_Started by user Admin User_  
_Running as SYSTEM_  
_Building in workspace /var/lib/jenkins/workspace/Postman_  
_[Postman] $ /bin/sh -xe /tmp/jenkins219625084961727573.sh_  
_+ newman run [https://www.getpostman.com/collections/5876dd3266bdcecd7596](https://www.getpostman.com/collections/5876dd3266bdcecd7596)_  
_ **newman: required node version \>=10** _  
_Build step ‘Execute shell’ marked build as failure_  
_ **Finished: FAILURE** _

Please help me resolve this problem. OS = Ubuntu 18.04.5 LTS

NOTE: I am able to successfully able to run the collection from command line. And node version is above 10  
node -v = 10.2.0 ; npm -v = 5.6.0 ; newman -v = 5.2.0

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 26, 2020, 6:55pm UTC](https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047/2 "2020-11-26T18:55:23Z")

</div>

Are you able to echo the Node version from that Jenkins job?

---

<div class="post-metadata">

**Author:** ![snk\_qa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/snk_qa/32/6492_2.png) [@snk\_qa](https://community.postman.com/u/snk_qa)\
**Post date:** [November 27, 2020, 10:50am UTC](https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047/3 "2020-11-27T10:50:30Z")

</div>

Hi Danny, thanks for your question. I’m new to jenkins and do not know how to check the node version.  
Could you please help me to find the version being used and how to set it to the required version?  
If you could guide me with any site, I can go through it.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 27, 2020, 1:42pm UTC](https://community.postman.com/t/jenkins-build-fails-newman-required-node-version-10-for-newman-project-execute-shell-newman-run/18047/4 "2020-11-27T13:42:04Z")

</div>

In the script, you have added to run Newman add the echo statement in there. The same as you would use to return the version in your terminal.
