mercredi 21 mars 2018

How to execute NPM command in Jenkins via shell

I'm getting syntax error when try to execute npm command

Users/Shared/Jenkins/Home/workspace/projectName/npm test
                                                     ^^^^

SyntaxError: Unexpected identifier

Here is Jenkins Build shell command I use

#!/usr/local/bin/node

Users/Shared/Jenkins/Home/workspace/kaleidoscope/npm test

Aucun commentaire:

Enregistrer un commentaire