diff --git a/src/main/scala/com/codacy/rules/ConfigurationRules.scala b/src/main/scala/com/codacy/rules/ConfigurationRules.scala index 2a89e08c..878838f9 100644 --- a/src/main/scala/com/codacy/rules/ConfigurationRules.scala +++ b/src/main/scala/com/codacy/rules/ConfigurationRules.scala @@ -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("CI_COMMIT_SHA") .filter(_.trim.nonEmpty) }