How to disable auto scan

we want is to disable auto scan, but keep the PR integration and status check

The problem is that the auto scan overwrite the PR report that Jenkins uploads after that check finishes. If we could just turn off the auto scan piece, the check would be updated correctly and we would be good to go.

2 Likes

Hello @monsam,

To turn off Autoscan you can go to Administration > Automatic Analysis on your project page on SonarCloud. There you will find a toggle to turn off the Automatic Analysis.

Hope that helps,
Tom

3 Likes

There is no menu like Administration > Automatic Analysis

  1. Administration > Analysis Method
  2. Uncheck SonarCloud Automatic Analysis option

2 Likes

Do I need special permission (I am admin for my project) to be able to access this Analysis method? I don’t see that option under Administration menu.

@TomVanBraband can we please get attention to this issue. We are facing the same issue and our admin can’t see Administration > Automatic Analysis on our project page on SonarCloud. Are we missing anything? Do we have to add sonar-project.properties file to our repo to disable automatic analysis? I still would like to trigger it the analysis but after I collect my test reports. You can more info about what I’m trying to do here Upload jacocoTestReport data to sonarcloud using github actions

Indeed. The name of the menu is slightly different: Administration > Analysis Method.
And then in that menu, you can see SonarCloud Automatic Analysis toggle, when it’s applicable for the project.

No, that won’t work. The only way to disable automatic analysis is in the Administration > Analysis Method menu.

I’m having the same issue and I do not see Automatic Analysis or Analysis Method under the admin tab. Do I need special permissions?

1 Like

Hello @r-schweitzer ,

Those settings can only be found on the project administration, and are not available in the organization administration tab. Could you check if you are in the right context (or post a screenshot of the menu)?

Was just solved a minute ago. You’re right in that it’s in the project admin. I needed those permissions instead. Now I’m able to find it and shut off the auto scan. Thanks