You have to execute the sonarrunner (if I recall the name correctly) in the
workspace. The sonarruner should be already checked out in ADMIN_HOME,
otherweise just download it anew.
I think it will find sonar-project properties automatically, maybe you will
have to specify them as a parameter. Such things can be found in the online
documentation of Sonarqube ;) ;)



2015-11-04 17:08 GMT+01:00 Denis Washington <de...@denisw.de>:

> Could you quickly explain how I would do that? (I do have SSH server
> access and know where to find the Jenkins job's workspace.)
>
> On Nov 4 2015, at 4:32 pm, Arsenij Solovjev <xeper...@gmail.com> wrote:
>> If it's an option: you can run sonarqube from the server command line in
>> the Saros-Server-QA workspace.
>>
>> 2015-11-04 15:10 GMT+01:00 Denis Washington <de...@denisw.de>:
>>
>> Hi,
>>
>>
>> I'm still trying to get Sonarqube to generate reports for the Saros
>> Server. Everything seems to be (finally) configured correctly now. However,
>> the Saros-Server-Gerrit-QA-Server job still fails with the following error
>> right after the analysis [1]:
>>
>>     ERROR: Caused by: Line must be null or greater than zero (got 0)
>>     ERROR:
>>     ERROR: To see the full stack trace of the errors, re-run SonarQube
>> Runner with the -e switch.
>>     ERROR: Re-run SonarQube Runner using the -X switch to enable full
>> debug logging.
>>
>> Anybody know what to do here? I would love to run the Sonar analysis with
>> the -e switch as described in the error message, but I have absolutely no
>> idea how to do this with the Sonarqube Jenkins step (which doesn't seem to
>> have any way to pass command-line options).
>>
>> Regards,
>> Denis
>>
>> [1]
>> http://saros-build.imp.fu-berlin.de/jenkins/job/Saros-Gerrit-QA-Server/40/console
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> DPP-Devel mailing list
>> DPP-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dpp-devel
>>
>>
>>
------------------------------------------------------------------------------
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to