Skip to content

Commit

Permalink
Merge pull request #115 from codacy/IGFCoimbra-patch-1
Browse files Browse the repository at this point in the history
Add support to semaphoreci
  • Loading branch information
ljmf00 authored Aug 26, 2019
2 parents 48bb619 + 1b7669e commit 775190a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ Codacy automatically detects the CommitUUID from several sources:
* CI_COMMIT_ID
* WERCKER_GIT_COMMIT
* CODEBUILD_RESOLVED_SOURCE_VERSION
* REVISION

**Git directory**

Expand Down
3 changes: 2 additions & 1 deletion src/main/scala/com/codacy/rules/ConfigurationRules.scala
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ class ConfigurationRules(cmdConfig: CommandConfiguration) extends StrictLogging
getNonEmptyEnv("WERCKER_GIT_COMMIT") orElse
getNonEmptyEnv("CODEBUILD_RESOLVED_SOURCE_VERSION") orElse
getNonEmptyEnv("CI_COMMIT_SHA") orElse
getNonEmptyEnv("HEROKU_TEST_RUN_COMMIT_VERSION")
getNonEmptyEnv("HEROKU_TEST_RUN_COMMIT_VERSION") orElse
getNonEmptyEnv("REVISION")
.filter(_.trim.nonEmpty)
}

Expand Down

0 comments on commit 775190a

Please sign in to comment.