Gre*_*ash 5 gradle jacoco sonarqube
可以在SonarQube中获取非主分支的代码覆盖率详细信息吗?我看到的其他分支的唯一两个标签是Issues和Code。我为每个分支运行相同的Gradle JaCoCo / Sonar命令:
./gradlew report sonarqube -Dsonar.branch.name=${BITBUCKET_BRANCH} -Dsonar.organization=${SONARQUBE_ORG} -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${SONARQUBE_KEY}
Run Code Online (Sandbox Code Playgroud)
我正在使用PowerMockito,所以我需要报告任务完成的类检测。
我们将Java,Gradle和JaCoCo与Sonar结合使用。
| 归档时间: |
|
| 查看次数: |
1897 次 |
| 最近记录: |