Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit c9b290e

Browse files
authored
Merge pull request #32 from codacy/update-readme
Fix enterprise url info
2 parents 64588ae + 9d66ca4 commit c9b290e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ You'll need to provide the Report token from Codacy via an environment variable:
3636
3737
**Enterprise**
3838

39-
To send coverage in the enterprise version you should:
39+
To send coverage in the enterprise version you should specify your Codacy installation URL:
4040
```
41-
export CODACY_API_BASE_URL=<Codacy_instance_URL>:16006
41+
codacy-coverage -e <YOUR-URL>:16006
4242
```
4343

4444
### [Mocha](http://mochajs.org) + [Blanket.js](https://github.com/alex-seville/blanket)
@@ -96,6 +96,11 @@ The paths in your coverage file should be relative, if you are having problems w
9696
cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
9797
```
9898

99+
To send coverage in the <strong>enterprise</strong> version you should specify your Codacy installation URL followed by the port 16006 using the -e option, example:
100+
```
101+
cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -e <YOUR-URL>:16006
102+
```
103+
99104
## License
100105
[MIT](LICENSE)
101106

0 commit comments

Comments
 (0)