-
Notifications
You must be signed in to change notification settings - Fork 25
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
Question: How to add "start" parameters? #59
Comments
You can specify custom attributes. SonarBeginSettings inherits from
ToolSettings which has a property ArgumentCustomization for that purpose.
…On Fri, Apr 13, 2018, 5:06 AM Oleg Grytsynevych, ***@***.***> wrote:
Hello,
For integration with GitEnterprise and TeamCity I need to specify
following SonarQube parameters:
/d:sonar.analysis.mode=
/d:sonar.useWsCache=
/d:sonar.issuesReport.html.enable=
/d:sonar.issuesReport.console.enable=
/d:sonar.language=
/d:sonar.github.pullRequest=
/d:sonar.github.repository=
/d:sonar.github.login=
/d:sonar.github.oauth=
/d:sonar.github.endpoint=
/d:sonar.github.deleteOldComments=
See also https://docs.sonarqube.org/display/PLUG/GitHub+Plugin
Is it correct that currently one need to add new properties into
SonarBeginSettings.cs, which will reflect the additional Sonar
parameters? Is it correct?
I wonder if it would make sense to allow Cake users to specify arbitrary
Sonar parameters using a weakly typed interface (e.g. via a Dictionary<string,
string> on SonarBeginSettings? Would you accept such change?
Oleg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#59>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA6OHoW8BLHMlZ8M2_ZwpNV38omKuOPXks5toJTQgaJpZM4TTVmo>
.
|
Adding a |
I have posted a PR with "explicit" implementation of the parameters. |
ArgumentCustomization in ToolSettings does the same thing. Why duplicate that. https://cakebuild.net/api/Cake.Core.Tooling/ToolSettings/50AAB3A8 |
Hello,
For integration with GitEnterprise and TeamCity I need to specify following SonarQube parameters:
See also https://docs.sonarqube.org/display/PLUG/GitHub+Plugin
Is it correct that currently one need to add new properties into
SonarBeginSettings.cs
, which will reflect the additional Sonar parameters?I wonder if it would make sense to allow Cake users to specify arbitrary Sonar parameters using a weakly typed interface (e.g. via a
Dictionary<string, string>
onSonarBeginSettings
)? Would you accept such change?Oleg
The text was updated successfully, but these errors were encountered: