1
我试图从Drone.io的Github的Pull请求中运行Sonar扫描。Drone.io在Github上的Sonarqube分析PR
这是序列:
- PR由
- Drone.io构建被触发
- 摇篮任务被执行
- 摇篮的声纳插件与雄蜂的环境中运行
这是在Drone的构建中使用的命令:
gradle/wrapper all sonarqube \
-Dsonar.analysis.mode=preview \
-Dsonar.github.pullRequest=$DRONE_BUILD_NUMBER \
-Dsonar.github.oauth=<github_token>
我在无人机环境中找不到PR ID。你知道有没有其他的选择?