Travis CI skipping SonarQube analysis

独自空忆成欢 提交于 2019-12-24 09:00:42

问题


I'm trying to configure SonarQube analysis in a github project. I've followed the official travis ci documentation but SonarQube analysis is not performed.

I'm getting the following message: "Skipping SonarQube Scan because it is not running in a secure environment"

pull request link: https://github.com/zakshya/cronos/pull/4

Full build log: https://s3.amazonaws.com/archive.travis-ci.org/jobs/216125526/log.txt

Does some one encountered this problem ? I'm i missing some config ?


回答1:


As mentioned in the official documentation of the SonarQube Travis Add-on about analysing pull requests:

For security reasons, this advanced feature [i.e. pull request analysis] works only for internal pull requests. In other words, pull requests built from forks won’t be inspected.



来源:https://stackoverflow.com/questions/43081020/travis-ci-skipping-sonarqube-analysis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!