執行 Shell
/usr/local/bin/jshint --checkstyle-reporter html/_js/ --config /root/node_modules/jshint/jshint.json >> build/checkstyle-jshint.xml || exit 0
Publish Checkstyle analysis results
Checkstyle results build/checkstyle-*.xml
Report Violations
checkstyle 10 999 999 build/checkstyle-*.xml
Reference :
Jenkins & JSHint – Integrating with Checkstyles and Violations « Brian Wigginton
沒有留言:
張貼留言