Jenkins build plugin to run tests on Autonomiq service
Install Oracle JDK 8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install maven on macOS:
$ brew install maven
To build the plugin
$ mvn package
Plugin file is in:
target/AutonomiqBuilder.hpi
- Navigate to
Manage Jenkins / Manage Plugins / (tab) Advanced
- Scroll down to
Upload Plugin
- Click on
Choose File
then select theAutonomiqBuilder.hpi
file - Click on
Upload
- Check the checkbox
Restart Jenkins when installation is complete and no jobs are running
- On Jenkins main page click on
New Item
- Enter job name and click on
Frestyle Project
and then onOK
at the bottom - Click on
Build
tab to scroll to build section - Click on
Add Build Step
then selectAutonomiq Plugin
- Fill in fields then click on
Save
at the bottom of the page - Click on
Build Now
to run the job
(Right now the plugin will just check that it can authenticate with the service)