Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins findbug threshold issue

While running sonar from jenkins job for one of my project I am facing issue ,

" Can not execute SonarQube analysis: Can not execute Findbugs with a timeout threshold value of 1200000 milliseconds: TimeoutException -> [Help 1]"

I tried to google it for help but every where I found only solution . "You can increase the timeout: Settings > General Settings > Java > Findbugs > sonar.findbugs.timeout"

In my office jenkins installed as a service and I am not able to find the above mention path, Any one would please give any details what would be the possible cause of this issue. What could be the solution and if the solution is like above which I mention then please guide me where I can find path or please let me know that if I need to update any config file.

like image 423
Amit Avatar asked Nov 19 '14 19:11

Amit


2 Answers

You should find that setting in Sonarqube, not in Jenkins. Check here: this

like image 144
carlo.bongiovanni Avatar answered Nov 05 '22 02:11

carlo.bongiovanni


You will need to update timeout value of FindBugs. Follow the below steps:

On the SonarQube server : Go to Administration -> Choose category Java -> FindBugs tab -> increase the Timeout value.

Find the below image for reference : enter image description here

like image 25
kalyani chaudhari Avatar answered Nov 05 '22 02:11

kalyani chaudhari