- Minify the generated concatenated JS file (call this all.min.js)
- This should fail the build process if any specs fail or if JSHint chokes
Below is a shell script that can be easily modified to fit your needs:
In trying to integrate Yeoman into your pipeline, you'll most likely hit this feature where it prompts the user to allow 'analytics for usage'. You can disable this prompt by adding the "--disable-insight" flag. The reason why you'd want to disable this feature is because it will cause builds to fail on Jenkins if it comes up.
Happy front-end development!