Skip to content
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

CI: Use private VM for all pipeline steps #1873

Closed
wants to merge 7 commits into from

Conversation

costin-zaharia-sonarsource
Copy link
Member

No description provided.

@@ -90,7 +90,6 @@ public void InstallTargetsFile_Overwrite()
var msBuildPathSettings = new MsBuildPathSettings();

InstallTargetsFileAndAssert(sourceTargetsContent1, expectCopy: true);
msBuildPathSettings.GetImportBeforePaths().Should().HaveCount(7, "Expecting six destination directories");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to remove the assertion since it's not always valid. Depending on the machine configuration, the scanner can add copy the target file in more than 6 directories.

e.g. copy the files in both system32 and SysWOW64 folders

2024-02-09T15:10:56.0361009Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0361432Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0361850Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0362270Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0362680Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0363080Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0363546Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0363977Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\4.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0364373Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\10.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0364765Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\11.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0365163Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\12.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0365558Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\14.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0365942Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\15.0\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0366342Z  DEBUG: Installed SonarQube.Integration.ImportBefore.targets to C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\MSBuild\Current\Microsoft.Common.targets\ImportBefore
2024-02-09T15:10:56.0366819Z  DEBUG: Installed SonarQube.Integration.targets to C:\sonar-ci\_work\1\s\TestResults\Deploy_SYSTEM 20240209T151053\45\sonarqube\bin\targets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
S4NET Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants