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

Add infinite recursion issue #3

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion ExampleSonarQubeIssues.cs
Expand Up @@ -9,11 +9,16 @@ namespace sonarqube_nemo_on_appveyor
// The full list of C# SonarQube rules is at http://dist.sonarsource.com/reports/coverage/rules/csharpsquid_rules_coverage.html
public class ExampleSonarQubeIssues
{
private void EmptyMethod()
void EmptyMethod()
{

}

void InfiniteRecursion()
{
InfiniteRecursion();
}

public int ExceptionInProperty
{
get
Expand Down
8 changes: 4 additions & 4 deletions appveyor.yml
@@ -1,11 +1,11 @@
environment:
github_auth_token:
secure: 1nfb9SLjo61snT5F5LIQp7IROP99WveRGt5IzVUPRaefxRHEjQkV8faa+mB7MitN
secure: 9QjK4yMv3hDjecsoKFGgHnGsThA6C0FyzVCDczk654tyn+N4jMPBcutai1JZZEOa
before_build:
- nuget restore
build_script:
- choco install "msbuild-sonarqube-runner" -y
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"SonarQubeNemoOnAppveyor" /d:"sonar.host.url=https://sonarqube.com" /d:"sonar.login=2c9eb4b0c421396f83d52337ac273108cce8f54f" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=ceddlyburge/sonarqube-nemo-on-appveyor" /d:"sonar.github.oauth=%github_auth_token%" }
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"SonarQubeNemoOnAppveyor" /d:"sonar.host.url=https://sonarqube.com" /d:"sonar.login=2c9eb4b0c421396f83d52337ac273108cce8f54f" }
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"SonarQubeNemoOnAppveyor" /d:"sonar.host.url=https://sonarcloud.io" /o:"ceddlyburge-github" /d:"sonar.login=7d723c30b74c350c85d6552647b3dab18d520f22" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=ceddlyburge/sonarqube-nemo-on-appveyor" /d:"sonar.github.oauth=%github_auth_token%" }
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { MSBuild.SonarQube.Runner.exe begin /k:"SonarQubeNemoOnAppveyor" /d:"sonar.host.url=https://sonarcloud.io" /o:"ceddlyburge-github" /d:"sonar.login=7d723c30b74c350c85d6552647b3dab18d520f22" }
- msbuild /verbosity:quiet "sonarqube-nemo-on-appveyor.sln"
- MSBuild.SonarQube.Runner.exe end /d:"sonar.login=2c9eb4b0c421396f83d52337ac273108cce8f54f"
- MSBuild.SonarQube.Runner.exe end /d:"sonar.login=7d723c30b74c350c85d6552647b3dab18d520f22"