Continuous integration - tsgrp/HPI GitHub Wiki

Every commit to HPI is pulled down by our CI server and built, then the unit tests are run. If a commit breaks the unit tests the committer is notified via email.

What if I get an email saying I broke the build?

First thing to do is verify that the unit tests work on your machine. Run an SVN update and From your HPI code directory, run:

grunt clean uglify:assets build karma:jenkins --project=your-project-name

This will run the phantomjs tests against your local code. If that command passes, it's likely you just forgot to commit a file. Confirm that all your files are added/commited.

If that fails you will need to resolve the broken test. Then commit. If you cannot do so in a timely manner, just revert your failed revision from SVN temporarily until you have time to make a good commit.

###Note: If you need more information about why your build is failing, you can see the full stacktrace in Jenkins using the link in the email. And choosing 'console output' from the left navbar.

Access jenkins with the credentials tsg/tsg123