Continuous integration Google Lighthouse CI-LHCI服务器可用于多个自动运行
我正在尝试设置,但多次运行Continuous integration Google Lighthouse CI-LHCI服务器可用于多个自动运行,continuous-integration,lighthouse,Continuous Integration,Lighthouse,我正在尝试设置,但多次运行lhci autorun时出现问题。我看了一下说明书,又看了一遍,但运气不好 如何修改我的LHCI项目和docker LHCI服务器()的配置,以使LHCI自动运行针对最新的存储/比特桶运行,而不会给我: Error: Unexpected status code 422 {"message":"Build already exists for hash \"18fcc3e730cc720756eba4b9a94a778b60d5e1e0\""} at Ap
lhci autorun
时出现问题。我看了一下说明书,又看了一遍,但运气不好
如何修改我的LHCI项目和docker LHCI服务器()的配置,以使LHCI自动运行
针对最新的存储/比特桶运行,而不会给我:
Error: Unexpected status code 422
{"message":"Build already exists for hash \"18fcc3e730cc720756eba4b9a94a778b60d5e1e0\""}
at ApiClient._convertFetchResponseToReturnValue (/usr/local/lib/node_modules/@lhci/cli/node_modules/@lhci/utils/src/api-client.js:54:21)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
WARNING: upload command failed.
assert command failed. Exiting with status code 1.
我仅在第一次运行后获得默认提交显示的结果:
18fcc3e“测试(utils):支持travis构建上下文测试”
使用lhci向导
我尝试将我的项目配置为指向我的隐藏回购,但将项目向导设置中生成的令牌添加到我的lighthouse rc.json后,该令牌不起作用。我错过了什么
lighthouse rc.json
{
"ci": {
"server": {
"port": 9001,
"storage": {
"storageMethod": "sql",
"sqlDialect": "sqlite",
"sqlDatabasePath": "/data/lhci.db"
}
},
"collect": {
"numberOfRuns": 2,
"url": [
"https://wwww.mydomain.ca/",
"https://www.mydomain.ca/page2",
]
},
"upload": {
"target": "lhci",
"serverBaseUrl": "http://localhost:9001",
"token": "38c17168748-c5f8-4744-b05d-3fdc97806adfabf"
}
}
}
即使失败,它也会创建一个新的本地提交,允许我收集数据: git提交--允许空-m'重新运行CI'&git推送 发件人: