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

How to call SonarScanner.MSBuild.exe instead of SonarQube.Scanner.MSBuild.exe #602

Closed
tcsabina opened this issue Nov 8, 2018 · 5 comments
Assignees

Comments

@tcsabina
Copy link

tcsabina commented Nov 8, 2018

Is there a way to call/execute "SonarScanner.MSBuild.exe" instead of "SonarQube.Scanner.MSBuild.exe" with this plugin?

The later ("SonarQube.Scanner.MSBuild.exe") is deprecated, and also gives me some troubles to do a SonarQube analysis.
If I use "SonarScanner.MSBuild.exe" on the command line, everything works fine. So the only thing I miss is to tell the Jenkins plugin to call that executable instead.

Thanks and regards,
Tamas

@Evangelink
Copy link

Hi @tcsabina,

Which version of the Jenkins plugin are you using? Using the version 2.8+ should avoid this issue.

@Evangelink Evangelink added this to the Support milestone Nov 8, 2018
@Evangelink Evangelink self-assigned this Nov 8, 2018
@tcsabina
Copy link
Author

tcsabina commented Nov 8, 2018

Hi,

How can I check the version?

And how can I update to the latest?

Regards,
Tamas

@tcsabina
Copy link
Author

tcsabina commented Nov 8, 2018

I have to following directory structure:
C:\Jenkins\tools\hudson.plugins.sonar.MsBuildSQRunnerInstallation\SonarScanner_for_MSBuild
In this directory there is a subdirectory called, sonar-scanner-3.2.0.1227
In this directory there is a file called .installedFrom, and the content is:
https://github.com/SonarSource/sonar-scanner-msbuild/releases/download/4.4.2.1543/sonar-scanner-msbuild-4.4.2.1543-net46.zip

So what is the version? 3.2.0.1227 or 4.4.2.1543?

Regards,
Tamas

@tcsabina
Copy link
Author

Dear Evangelink,

Have you had a chance to read my reply?

Thanks,
Tamas

@Evangelink
Copy link

Hi @tcsabina,

The following document contains the required information to check if you are using the latest version of Jenkins. This is not something I maintain or I have access too so I won't be able to help more.

I have checked the source code and I can confirm that the latest version is calling in order the right executable.

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

No branches or pull requests

3 participants