Open
Description
Problem
codacy-analysis-cli
doesn't respect CODACY_API_BASE_URL
even when it is set and exported correctly, and it defaults to https://api.codacy.com
instead.
Steps to reproduce
We are using codacy-analysis-cli
version 7.9.12
. We are trying to configure base URL for Codacy to use our custom host. We tried doing it by exporting the CODACY_API_BASE_URL
env variable, And then we tried to run the Codacy Analysis CLI tool using the following command but got the following logs:
$ java -jar codacy-analysis-cli.jar analyze --verbose --upload --tool deadcode --commit-uuid de0665171ac454ca05a0ca93698121bf900e3975
02/04 12:35:54 INFO c.c.a.c.c.Environment:74 - API base URL found in argument `--codacy-api-base-url`
02/04 12:35:54 INFO c.c.a.c.c.Environment:65 - Using API base URL https://api.codacy.com
Our command doesn't include --codacy-api-base-url
as an argument, but logs indicate opposite.
Metadata
Metadata
Assignees
Labels
No labels