Skip to content

Commit

Permalink
Support heroku commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa committed Jul 31, 2018
1 parent 9181b6e commit 5d9e6b4
Showing 1 changed file with 2 additions and 1 deletion.
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 @@ -113,7 +113,8 @@ class ConfigurationRules(cmdConfig: CommandConfiguration) {
getNonEmptyEnv("CIRCLE_SHA1") orElse
getNonEmptyEnv("CI_COMMIT_ID") orElse
getNonEmptyEnv("WERCKER_GIT_COMMIT") orElse
getNonEmptyEnv("CODEBUILD_RESOLVED_SOURCE_VERSION")
getNonEmptyEnv("CODEBUILD_RESOLVED_SOURCE_VERSION") orElse
getNonEmptyEnv("HEROKU_TEST_RUN_COMMIT_VERSION")
.filter(_.trim.nonEmpty)
}

Expand Down

0 comments on commit 5d9e6b4

Please sign in to comment.