# Install nodejs ( newman) via jenkins for postman integration

**URL:** <https://community.postman.com/t/install-nodejs-newman-via-jenkins-for-postman-integration/14405>\
**Category:** Help Hub\
**Tags:** newman-project\
**Created:** [July 23, 2020, 11:10am UTC](https://community.postman.com/t/install-nodejs-newman-via-jenkins-for-postman-integration/14405 "2020-07-23T11:10:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jj\_2020](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@jj\_2020](https://community.postman.com/u/jj_2020)\
**Post date:** [July 23, 2020, 11:10am UTC](https://community.postman.com/t/install-nodejs-newman-via-jenkins-for-postman-integration/14405/1 "2020-07-23T11:10:28Z")

</div>

Hi, I have jenkins installed in the cloud and I would like to install newman ( nodejs) via jenkins so I can use it later to execute postman collection using the URL.

I don’t want to access the box to install nodejs therefore use jenkins to install nodejs , is it possible ?  
or is there a short cut where I can create a script to call newman without installing it in the box ?

questions:

1. I installed ‘integration npm plugin’ in jenkins

created the  
config manage user file with URL = [http://npmjs.org](http://npmjs.org/)  
the pipeline code is below  
pipeline{ agent any stages { stage(‘npm-build’) {  
steps {  
echo “Branch is ${env.BRANCH\_NAME}…”

```
    withNPM(npmrcConfig:'8e75a5ce-5a4b-4a0a-971d-f56a81') {
        echo "Performing npm build..."
        sh 'npm install'
    }

```

and this gave me an ERROR: script returned exit code 127 Finished: FAILURE

could you please help ? any idea ?

---

<div class="post-metadata">

**Author:** ![lrracelissky](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@lrracelissky](https://community.postman.com/u/lrracelissky)\
**Post date:** [October 6, 2022, 7:33pm UTC](https://community.postman.com/t/install-nodejs-newman-via-jenkins-for-postman-integration/14405/2 "2022-10-06T19:33:09Z")

</div>

Can somebody look at this one, please?  
We are also going to move from local to cloud Jenkins and I need to know whether we can still run (newman) postman collections with this move.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 12, 2024, 12:52pm UTC](https://community.postman.com/t/install-nodejs-newman-via-jenkins-for-postman-integration/14405/3 "2024-12-12T12:52:17Z")

</div>

Closed on December 12, 2024, 12:52pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
