Hi all, I have a Jenkins 1.546 instance installed as a service on a W7 machine. It runs under a local admin account, the same account I use to RDP into that machine. I installed nodejs v 0.10.24. In one of the jobs I'm running the following build steps as windows batch command: batch command 1: REM Installing nodejs jshint package npm install -g jshint npm install jshint
batch command 2: REM Running jshint with checkstyle on MyProject source code jshint --verbose --reporter=checkstyle ./MyProject/app 1> checkstyle-jshint.xml REM Created checkstyle-jshint file REM Running jshint with jslint on MyProject source code jshint --verbose --reporter=jslint ./MyProject/app 1> jslint.xml REM Created jslint file The job fails when executing the first command in batch2 but no error message or hint is logged. The same commands run ok in Command Prompt. I've checked and doublechecked the command line options of jshint, tried giving the fullpath to the project by using %WORKSPACE%, replaced > with 1> - to no avail. If I replace batch command 2 content with "jshint --version" the build does not fail. This is the important part of the job log: [workspace] $ cmd /c call C:\Temp\hudson1680110169794042148.bat D:\jenkins.space\jobs\MyProject_Deploy\workspace>REM Installing nodejs jshint package D:\jenkins.space\jobs\MyProject_Deploy\workspace>npm install -g jshint npm http GET https://registry.npmjs.org/jshint npm http 304 https://registry.npmjs.org/jshint npm http GET https://registry.npmjs.org/shelljs npm http GET https://registry.npmjs.org/underscore npm http GET https://registry.npmjs.org/cli npm http GET https://registry.npmjs.org/minimatch npm http GET https://registry.npmjs.org/htmlparser2 npm http GET https://registry.npmjs.org/console-browserify npm http 304 https://registry.npmjs.org/cli npm http 304 https://registry.npmjs.org/minimatch npm http 304 https://registry.npmjs.org/htmlparser2 npm http 304 https://registry.npmjs.org/shelljs npm http 304 https://registry.npmjs.org/underscore npm http 304 https://registry.npmjs.org/console-browserify npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/sigmund npm http GET https://registry.npmjs.org/glob npm http 304 https://registry.npmjs.org/lru-cache npm http 304 https://registry.npmjs.org/sigmund npm http 304 https://registry.npmjs.org/glob npm http GET https://registry.npmjs.org/domhandler npm http GET https://registry.npmjs.org/domutils npm http GET https://registry.npmjs.org/domelementtype npm http GET https://registry.npmjs.org/readable-stream npm http GET https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/inherits npm http 304 https://registry.npmjs.org/domelementtype npm http 304 https://registry.npmjs.org/domutils npm http 304 https://registry.npmjs.org/readable-stream npm http 304 https://registry.npmjs.org/domhandler C:\Users\jenkins\AppData\Roaming\npm\jshint -> C:\Users\jenkins\AppData\Roaming\npm\node_modules\jshint\bin\jshint jshint@2.4.1 C:\Users\jenkins\AppData\Roaming\npm\node_modules\jshint ├── console-browserify@0.1.6 ├── underscore@1.4.4 ├── minimatch@0.2.14 (sigmund@1.0.0, lru-cache@2.5.0) ├── shelljs@0.1.4 ├── cli@0.4.5 (glob@3.2.8) └── htmlparser2@3.3.0 (domelementtype@1.1.1, domutils@1.1.6, domhandler@2.1.0, readable-stream@1.0.24) [workspace] $ cmd /c call C:\Temp\hudson3001016805079027919.bat D:\jenkins.space\jobs\MyProject_Deploy\workspace>REM Running jshint with checkstyle on MyProject source code D:\jenkins.space\jobs\MyProject_Deploy\workspace>jshint --verbose --reporter=checkstyle ./MyProject/app 1>checkstyle-jshint.xml Build step 'Execute Windows batch command' marked build as failure -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.