Re: SonarQube

2016-12-19 Thread Stefan Bodewig
Setting up an extra build file turned out to be pretty simple, here is the result: https://builds.apache.org/analysis/overview?id=ant-master I haven't looked into getting test coverage to work (which might be tricky because of AntUnit anyway), but its a start. Thanks Stefan On 2016

Re: SonarQube

2016-12-19 Thread Michael Clarke
It looks like the Windows slaves use Java 8 so you could try tying the job to then. The config in the SonarQube plugin sets which JVM the plugin launched for running the Sonar checks, but the plugin itself needs at least Java 8 to run. Thanks, Michael > On 19 Dec 2016, at 16:11, Stefan Bodewig

Re: SonarQube

2016-12-19 Thread Stefan Bodewig
Hmm, strange. The configuration section of the plugin contains an option for the JDK to use, so I had expected it to do anything :-) I'm afraid all Jenkins slaves run Java7, so we are out of luck using the existing plugin. Executing the runner from within an Ant build file would be an option, I'll

Re: SonarQube

2016-12-19 Thread Michael Clarke
Stefan, It's failing as the slave is running on Java 7 so can't read the SonarQube plugin's Java 8 classes. You'll need to find a slave running on Java 8 (not just with Java 8 installed), although I couldn't find one from the quick selection I checked. Thanks Michael > On 19 Dec 2016, at 14:4