Jenkins trying to pull last sonar state when browsing a job, making jenkins TMOUT

Hi Ann,
I think I solved it a couple of hours ago as you mention. I had to remove the sonar analysis lines from the last build of the job, like:

<hudson.plugins.sonar.action.SonarMarkerAction plugin="sonar@2.14"/>
    <hudson.plugins.sonar.action.SonarAnalysisAction plugin="sonar@2.14">
      <installationName>Sonar01</installationName>
      <installationUrl>https://sonarqube-legacy.url</installationUrl>
      <ceTaskId>AYaANsjxbLEQIcp9XcS0</ceTaskId>
      <url>https://sonarqube-legacy.url/dashboard?id=some.parent.jobt</url>
      <serverUrl>https://sonarqube-legacy.url</serverUrl>
      <isNew>true</isNew>
      <isSkipped>false</isSkipped>
    </hudson.plugins.sonar.action.SonarAnalysisAction>

After removing such line I had to reload the Jenkins job, I did it via console script with

Jenkins j = Jenkins.get()
def job = j.getItemByFullName("PROJECT_NAME")

job?.doReload()

That did the trick!
Thanks for your support.

1 Like