devops - 回购数据未显示在 hygieia 仪表板中
解决方案
要配置 SCM GitHub 收集器,请执行以下步骤:
git clone https://github.com/Hygieia/hygieia-scm-github-collector然后,执行以下步骤:
要将 SCM GitHub 收集器源代码打包成可执行 JAR 文件,
从源代码安装的 \hygieia-scm-github-collector 目录运行 maven 构建:
mvn 安装
输出文件 hygieia-scm-github-collector.jar 在 hygieia-scm-github-collector\target 文件夹中生成。
在 application.properties 文件中设置可配置参数以连接到 Dashboard MongoDB 数据库实例,包括 GitHub 收集器所需的属性。
然后
logging.file=./logs/github.log github.cron=0 0/5 * * * *
github.host=github.com
github.commitThresholdDays=15 github.errorThreshold=1
github.personalAccessToken=
然后保存并转到目标文件夹运行以下命令
hygieia-scm-github-collector\target>java -jar hygieia-scm-github-collector.jar
推荐阅读
- python - 如何在一个代码中生成 2 个不同的图?
- node.js - $sort 在聚合管道 mongo 中不起作用
- flutter - 如何使用 Flutter 中良好渲染的字体进行黄金测试?
- java - 将集合映射与非主键列关联
- hpc - 在没有提交文件的情况下,如何在 condor 中提交请求特定 GPU 的作业?
- azure - Azure 资源锁定通过策略但通过 DevOps 删除
- r - 在 R 中绘制散点图
- html - 如何暂停和取消暂停视频
- batch-file - 有没有办法我们可以通过 Windows 中的 CMD 将文件上传到谷歌驱动器文件夹
- jupyter-notebook - 如果删除输出,请保留 jupyter 编号