Sample AngularJS application showing how to use Jenkins REST API's for custom integrations in your environments.
A followup to this blog post
npm install
bower install
- Run
grunt
for building andgrunt serve
for preview.
- Jenkins running on port 8081 (localhost). URL is currently hardcoded to http://localhost:8081 but can be changed here
- If this webapp is not running on the same host as Jenkins, you'll need to install CORS Plugin with the host you are trying to connect in the whitelist. Then compile
mvn package
to generate the .hpi file that you can upload to Jenkins Plugins (Advanced tab)
Running grunt test
will run the unit tests with karma.