This repository was archived by the owner on Feb 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,31 @@ sbt codacyCoverage
6767export 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
7297After setting up and testing the coverage, you're ready to setup your build server to automate your process.
You can’t perform that action at this time.
0 commit comments