Error am getting while trying to set github status is
GitHub responded with 401 {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
The reason am certain is because of the documentation url in the error response. As am using the git enterprise host api, if the credentials is invalid I get a different documentation_url in error response. The documentation url above is coming from api.github.com which is default value.
Also for context am running the setup inside a docker container in jenkins.
I have also tried passing giHubApiHost value like this but same result. Can someone let me know how to fix this?
lhci autorun --upload.gitHubApiHost=https://git.corp.company_name.com/api/v3
Describe the bug Custom value defined in upload object for gitHubApiHost in lighthouserc.js file is not being honored. It is still taking the default gitHubApiHost value defined here ( https://github.com/GoogleChrome/lighthouse-ci/blob/main/packages/cli/src/upload/upload.js#L40).
Error am getting while trying to set github status is
GitHub responded with 401 {"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}
The reason am certain is because of the documentation url in the error response. As am using the git enterprise host api, if the credentials is invalid I get a different documentation_url in error response. The documentation url above is coming from api.github.com which is default value.
Also for context am running the setup inside a docker container in jenkins.
My lighthouserc file.
I have also tried passing giHubApiHost value like this but same result. Can someone let me know how to fix this?
lhci autorun --upload.gitHubApiHost=https://git.corp.company_name.com/api/v3
LHCI version: 0.12.0