SonarQube TFS 2015 extenstion: Failed to delete temp folder

Hi!

We also have this issue in our MSBuild builds.
It appears to be a timing issue, because it does not happen on every build (all run on the same machine).
Also we have only seen it happen on short-lived branches. But that is maybe due to the infrequent runs of the long-living branches.

We have:

  • Sonarqube: LTS 6.7.5
  • SonarC#: 7.7
  • Sonar MSBuild Scanner Net4.6: 4.4.2
  • Java on build machine: 1.8.191

The error output is the same as the one of above.

This error is bothering us because subsequent steps in our build.xml are skipped and our CI environment stops the build process after this failing task. We might be able to ignore this error, but thats not really convenient.

Thanks