New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Break the build when running under local system account #522
Comments
Is there an option to disable this behavior? Our builds have been reporting fine, while running under LocalSystemAccount, on TeamCity, using 4.2.0. This change just explodes our builds for no good reason. |
Hi @OwenGr, did you have analysis results before upgrading SonarScanner for MSBuild? So far we have been unable to make it work with a Local System account, hence the break. In other words, if the analysis does not work, there is no point adding the steps... |
@valhristov I am in the same situation - we have been using this with TeamCity, including Docker based TeamCity agents with no issues. |
@valhristov & @Evangelink - As @OwenGr suggested, is/will there be an option to disable this behaviour? |
Please follow this issue to support System Account: #465 which now depends on this other issue on the MSBuild project itself: dotnet/msbuild#3781 |
The investigation is now completed: The root cause relates to how WoW64 works and how it transparently translates Details on when
|
Description
The MSBuild integration is not working when the scanner is run under the Local System account. This happens frequently as the Local System is the default account for authentication of Jenkins slaves.
Expected behavior
When running under Local System the
begin
step should fail with the same message we currently use as a warning.Related ticket SonarSource/sonar-dotnet#1437
The text was updated successfully, but these errors were encountered: