首页 > 解决方案 > 回购数据未显示在 hygieia 仪表板中

问题描述

谁能帮助我进行卫生设置我在下面的代码分析中遇到问题是仪表板的屏幕截图

点击这里

标签: devopscicdhygieia

解决方案


要配置 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


推荐阅读