I am getting below error when i try to run from Jenkin shell script
[Collection_run] $ /bin/sh -xe /tmp/jenkins7542658729538318661.sh + newman -version /tmp/jenkins7542658729538318661.sh: line 2: newman: command not found Build step ‘Execute shell’ marked build as failure Finished: FAILURE
Still from AWS EC2 Linux prompt i am getting proper response
Installed below from Command line and set path, From command line things are fine
npm node newman
newman --version
From jenkin i want to run Postman collection as i could able to run from command line