Jenkins - Node JS + GitHub integration fails on windows 10 during build
On step 2, you shouldn't be running npm install
as a step of type Execute NodeJS script.
- This expects you to enter valid Node Javascript as the Script, for example
console.log('I should be valid javascript code')
.
Leave Provide Node and npm bin/ folder to PATH marked and replace the Execute NodeJS script step with a Windows PowerShell script where you enter npm install
as the Script value.