- SonarQube - On Prem 7.4 Dev Edition, Using a 15 day Trail Version
I setup the SQ instance in our environment and updated the Administration -> Pull Request configuration to add the Authentication Token for Github as per doc - > https://docs.sonarqube.org/7.4/analysis/pull-request/
The analysis goes through fine, but I get a warning message in SQ that “Pull request decoration did not happen. Please provide a Pull Request Github Authentication token in the project’s or global settings.”
I also don’t see the PR decoration in out Company Github enterprise instance.
I also looked at the Projects -> Backgroud Task -> Scanner Context, which shows the Global properties being used as part of the analysis. It shows the - sonar.pullrequest.github.token.secured=****** being set
Not sure why the token defined is not being picked up by SQ.
Global properties:
- email.prefix=[SONARQUBE-BETA]
- sonar.branch.longLivedBranches.regex=(origin/master)
- sonar.core.id=CEAAFB5A-AWeqLqSoRus-1oNry0BV
- sonar.core.serverBaseURL=https://sonarqube.company-tools.net
- sonar.core.startTime=2018-12-18T01:43:50+0000
- sonar.dbcleaner.daysBeforeDeletingInactiveShortLivingBranches=10
- sonar.pullrequest.github.endpoint=https://github.company.com/api/v3/
- sonar.pullrequest.github.token.secured=******
- sonar.pullrequest.provider=GitHub
SonarQube plugins: - Mutation Analysis 1.3 (mutationanalysis)
- SonarCSS 1.0.2.611 (cssfamily)
- PMD 3.1.3 (pmd)
- Svn 1.9.0.1295 (scmsvn)
- SonarPLSQL 3.2.0.1753 (plsql)
- SonarC# 7.7.0.7192 (csharp)
- Vulnerability Analysis 7.4.0.1949 (security)
- SonarJava 5.9.2.16552 (java)
- LDAP 2.2.0.608 (ldap)
- SonarFlex 2.4.0.1222 (flex)
- SonarXML 1.5.1.1452 (xml)
- Pitest 0.9.1 (pitest)
- SonarTS 1.8.0.3332 (typescript)
- SonarVB 7.7.0.7192 (vbnet)
- SonarSwift 4.0.0.2853 (swift)
- SonarCFamily 5.1.1.10386 (cpp)
- SonarPython 1.10.0.2131 (python)
- JaCoCo 1.0.1.143 (jacoco)
- SonarGo 1.1.0.1612 (go)
- SonarKotlin 1.2.1.2009 (kotlin)
- SonarTSQL 1.3.0.2899 (tsql)
- SonarJS 5.0.0.6962 (javascript)
- SonarRuby 1.2.1.2009 (ruby)
- Vulnerability Rules for C# 7.4.0.1949 (securitycsharpfrontend)
- Vulnerability Rules for Java 7.4.0.1949 (securityjavafrontend)
- License for SonarLint 7.4 (license)
- Git 1.6.0.1349 (scmgit)
- SonarPHP 2.14.0.3569 (php)
- SonarABAP 3.7.0.1603 (abap)
Any CLUE what I might be missing in the settings ?