I am trying to add SonarQube analysis to our OSS Project with travis on Github.
I performed the following steps:
- Create a organization and project on sonarcloud.io
- Add the sonarcloud definition in
.travis.yml
- Create a
sonar-project.properties
file - Push everything to a feature branch called
feature/sonarcloud
- Add this branch to travis.yml and properties file.
The final result can be seen here: https://github.com/open62541/open62541/tree/feature/sonarcloud
Unfortunately Travis does not submit the sonar analysis:
INFO: Scanner configuration file:
/home/travis/.sonarscanner/sonar-scanner-2.8/conf/sonar-scanner.properties
INFO: Project root configuration file: NONE
INFO: SonarQube Scanner analysis skipped
(See also https://travis-ci.org/open62541/open62541/jobs/287631673)
I already tried to forcefully set export SONARQUBE_SKIPPED=false
but it is still skipped. How can I find out why the scanner analysis is skipped?
Related questions: