Jenkins findbug threshold issue

5.2k Views Asked by At

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.

2

There are 2 best solutions below

2
On BEST ANSWER

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

0
On

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