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-12-19, Michael Clarke wrote:

> 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 <bode...@apache.org> wrote:

>> 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 try to carve out some time for that.

>> Stefan

>>> On 2016-12-19, Michael Clarke wrote:

>>> 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:46, Stefan Bodewig <bode...@apache.org> wrote:

>>>> Hi all

>>>> I've tried to set up a SonarQube build for Ant with
>>>> <https://builds.apache.org/job/Ant-Master%20SonarQube/> but right now it
>>>> doesn't work (doesn't use the JDK8 I've configured). I'll try to get it
>>>> working on and off but if anybody is familiar with the Jenkins plugin we
>>>> seem to use, any help will be appreciated.

>>>> Stefan

>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>>>> For additional commands, e-mail: dev-h...@ant.apache.org


>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>>> For additional commands, e-mail: dev-h...@ant.apache.org

>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
>> For additional commands, e-mail: dev-h...@ant.apache.org


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to