I noticed roughly about the last 1-2 months, our Pull Request build is always “passed” with 0 issues and no result in code coverage / duplications.
What could possibly change that caused this? Sonar cloud is not helping if it always passes
Template for a good new topic, formatted with Markdown:
- Code: Bitbucket
- CI: Jenkins
- Java
Context:
SonarCloud plugins:
- SonarCSS 1.2.0.1325 (cssfamily)
- SonarPLSQL 3.4.1.2576 (plsql)
- SonarScala 1.7.0.883 (sonarscala)
- C# Code Quality and Security 8.6.1.17183 (csharp)
- Vulnerability Analysis 8.3.0.1825 (security)
- Java Code Quality and Security 6.3.0.21585 (java)
- SonarHTML 3.2.0.2082 (web)
- SonarFlex 2.5.1.1831 (flex)
- SonarXML 2.0.1.2020 (xml)
- SonarTS 2.1.0.4359 (typescript)
- VB.NET Code Quality and Security 8.6.1.17183 (vbnet)
- SonarSwift 4.2.2.77 (swift)
- CFamily Code Quality and Security 6.9.0.17076 (cpp)
- SonarPython 2.9.0.6410 (python)
- JaCoCo 1.1.0.898 (jacoco)
- Mercurial 1.1.2 (scmmercurial)
- SonarGo 1.7.0.883 (go)
- SonarKotlin 1.7.0.883 (kotlin)
- SonarTSQL 1.4.0.3334 (tsql)
- SonarApex 1.7.0.883 (sonarapex)
- SonarJS 6.2.1.12157 (javascript)
- SonarRuby 1.7.0.883 (ruby)
- Vulnerability Rules for C# 8.3.0.1825 (securitycsharpfrontend)
- Vulnerability Rules for Java 8.3.0.1825 (securityjavafrontend)
- License for SonarLint 8.0.0.7525 (license)
- SonarCOBOL 4.4.0.3403 (cobol)
- Vulnerability Rules for Python 8.3.0.1825 (securitypythonfrontend)
- Git 1.11.1.2008 (scmgit)
- SonarPHP 3.3.0.5166 (php)
- SonarABAP 3.8.0.2034 (abap)
- Vulnerability Rules for PHP 8.3.0.1825 (securityphpfrontend)
Global server settings: - email.from=noreply@sonarcloud.io
- email.fromName=SonarCloud
- email.prefix=[SonarCloud]
- sonar.auth.bitbucket.enabled=true
- sonar.auth.microsoft.enabled=true
- sonar.core.id=
- sonar.core.serverBaseURL=https://sonarcloud.io
- sonar.core.startTime=2020-05-05T09:42:12+0200
- sonar.dbcleaner.weeksBeforeDeletingAllSnapshots=480
- sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=4
- sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=1
- sonar.feature_flag.bbc_code_reports.enabled=true
- sonar.leak.period=30
- sonar.lf.enableGravatar=true
- sonar.lf.logoWidthPx=105
- sonar.organizations.anyoneCanCreate=true
- sonar.organizations.createPersonalOrg=true
- sonar.plsql.file.suffixes=sql,tab,pkb
- sonar.tsql.file.suffixes=.tsql
Project server settings: - sonar.branch.longLivedBranches.regex=(develop|((hotfix|release)/*))
- sonar.exclusions=.js,.html,*.css
- sonar.issue.ignore.multicriteria=1,2,3,4,5
- sonar.issue.ignore.multicriteria.1.resourceKey=//
- sonar.issue.ignore.multicriteria.1.ruleKey=java:S120
- sonar.issue.ignore.multicriteria.2.resourceKey=//
- sonar.issue.ignore.multicriteria.2.ruleKey=java:S100
- sonar.issue.ignore.multicriteria.3.resourceKey=//
- sonar.issue.ignore.multicriteria.3.ruleKey=java:S1192
- sonar.issue.ignore.multicriteria.4.resourceKey=//
- sonar.issue.ignore.multicriteria.4.ruleKey=java:S1192
- sonar.issue.ignore.multicriteria.5.resourceKey=//
- sonar.issue.ignore.multicriteria.5.ruleKey=java:S3416
- sonar.leak.period=5
- sonar.pullrequest.provider=BitbucketCloud
Project scanner properties: - sonar.binaries=/<jenkins_folder>/target/classes
- sonar.bitbucket.accountName=
- sonar.bitbucket.branchName=$GIT_BRANCH
- sonar.bitbucket.maxSeverityApprovalLevel=MINOR
- sonar.bitbucket.oauthClientKey=
- sonar.bitbucket.oauthClientSecret=
- sonar.bitbucket.repoSlug=
- sonar.coverage.exclusions=
- sonar.groovy.binaries=/<jenkins_folder>/target/classes
- sonar.host.url=https://sonarcloud.io
- sonar.java.binaries=/<jenkins_folder>target/classes
- sonar.java.coveragePlugin=jacoco
- sonar.java.libraries=//repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.jar,//repository/org/springframework/spring-jcl/5.2.2.RELEASE/spring-jcl-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context/5.2.2.RELEASE/spring-context-5.2.2.RELEASE.jar,//repository/org/springframework/spring-beans/5.2.2.RELEASE/spring-beans-5.2.2.RELEASE.jar,//repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context-support/5.2.2.RELEASE/spring-context-support-5.2.2.RELEASE.jar,//repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar,//repository/org/springframework/spring-orm/5.2.2.RELEASE/spring-orm-5.2.2.RELEASE.jar,//repository/org/springframework/spring-jdbc/5.2.2.RELEASE/spring-jdbc-5.2.2.RELEASE.jar,/home/jenkins/.m…
- sonar.java.source=1.8
- sonar.java.target=1.8
- sonar.java.test.binaries=/<jenkins_folder>/test-classes
- sonar.java.test.libraries=/<jenkins_folder>/target/classes,//repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.jar,//repository/org/springframework/spring-jcl/5.2.2.RELEASE/spring-jcl-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context/5.2.2.RELEASE/spring-context-5.2.2.RELEASE.jar,//repository/org/springframework/spring-beans/5.2.2.RELEASE/spring-beans-5.2.2.RELEASE.jar,//repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context-support/5.2.2.RELEASE/spring-context-support-5.2.2.RELEASE.jar,//repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar,//repository/org/springframework/spring-orm/5.2.2.RELEASE/spring-orm-5.2.2.RELEASE.jar,//r…
- sonar.junit.reportPaths=/<jenkins_folder>/target/surefire-reports
- sonar.junit.reportsPath=/<jenkins_folder>/target/surefire-reports
- sonar.libraries=//repository/org/springframework/spring-core/5.2.2.RELEASE/spring-core-5.2.2.RELEASE.jar,//repository/org/springframework/spring-jcl/5.2.2.RELEASE/spring-jcl-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context/5.2.2.RELEASE/spring-context-5.2.2.RELEASE.jar,//repository/org/springframework/spring-beans/5.2.2.RELEASE/spring-beans-5.2.2.RELEASE.jar,//repository/org/springframework/spring-expression/5.2.2.RELEASE/spring-expression-5.2.2.RELEASE.jar,//repository/org/springframework/spring-context-support/5.2.2.RELEASE/spring-context-support-5.2.2.RELEASE.jar,//repository/org/springframework/spring-web/5.2.2.RELEASE/spring-web-5.2.2.RELEASE.jar,//repository/org/springframework/spring-orm/5.2.2.RELEASE/spring-orm-5.2.2.RELEASE.jar,//repository/org/springframework/spring-jdbc/5.2.2.RELEASE/spring-jdbc-5.2.2.RELEASE.jar,/home/jenkins/.m…
- sonar.links.ci=
- sonar.links.homepage=<homepage_url>
- sonar.links.issue=
- sonar.links.scm=
- sonar.links.scm_dev=
- sonar.login=******
- sonar.moduleKey=
- sonar.organization=
- sonar.projectBaseDir=/<jenkins_folder>
- sonar.projectBuildDir=/<jenkins_folder>/target
- sonar.projectKey=
- sonar.projectName=
- sonar.projectVersion=
- sonar.pullrequest.base=develop
- sonar.pullrequest.branch=
- sonar.pullrequest.key=
- sonar.scanner.app=ScannerMaven
- sonar.scanner.appVersion=3.6.0.1398/3.6.1
- sonar.sourceEncoding=UTF-8
- sonar.sources=/<jenkins_folder>/src/main/webapp,/<jenkins_folder>/pom.xml,/<jenkins_folder>/src/main/java
- sonar.tests=/<jenkins_folder>/src/test/java
- sonar.working.directory=/<jenkins_folder>/target/sonar