To get early warning when changes in Eclipse, Mylyn or EclipseLink break the build of Industrial SQL Connector for Mylyn, I have set up a build on my home Hudson CI server. When you want to use this connector you can do the same following the steps below.
Create a new Hudson Job
After pressing OK you will see:
Configure and test SVN checkout
Enter the anonymous SVN checkout url from EclipseLabs :
http://svn.codespot.com/a/eclipselabs.org/industrial-mylyn/trunk/. Also configure the build triggers, now set for 30 minutes past hour on weekdays. Can probably be less, but CI is supposed to be well continuous…
After saving this configuration, press Build Now
When it's done, check the Workspace. It should look like this:
Configure the Maven/Tycho build and test it.
Next step is to add building the checked out code. Industrial SQL Connector for Mylyn comes preconfigured for a Maven/Tycho build so that is easy. Add the Build Step named Invoke Maven 3
We need some advanced options so click the Advanced button. Most important is that the root pom file is not in the root directory but in
Press Build Now again.
When all is well you should see this,
Results are all in the Workspace, so a bit hard to find:
You can archive and publish the artifacts produced by Maven by configuring the build.
This produces the following Job display: