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

Commit 175fc54

Browse files
committed
Add information regarding commitUUID detection
1 parent e373555 commit 175fc54

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,31 @@ sbt codacyCoverage
6767
export CODACY_API_BASE_URL=<Codacy_instance_URL>:16006
6868
```
6969

70+
### CommitUUID Detection
71+
72+
Codacy automatically detects the CommitUUID from several sources:
73+
74+
**Environment Variables**
75+
76+
* CI_COMMIT
77+
* TRAVIS_PULL_REQUEST_SHA
78+
* TRAVIS_COMMIT
79+
* DRONE_COMMIT
80+
* CIRCLE_SHA1
81+
* CI_COMMIT_ID
82+
* WERCKER_GIT_COMMIT
83+
84+
**Git directory**
85+
86+
* If it finds a git directory it will get current commit.
87+
88+
**Force CommitUUID**
89+
90+
* You may want to enforce a specific commitUUID with:
91+
```
92+
sbt 'set codacyCommit := "mycommituuid"' codacyCoverage
93+
```
94+
7095
## Configure your build server
7196

7297
After setting up and testing the coverage, you're ready to setup your build server to automate your process.

0 commit comments

Comments
 (0)