We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 112fa7b + 6b08ceb commit 8669c9aCopy full SHA for 8669c9a
src/main/scala/com/codacy/rules/ConfigurationRules.scala
@@ -113,7 +113,8 @@ class ConfigurationRules(cmdConfig: CommandConfiguration) {
113
getNonEmptyEnv("CIRCLE_SHA1") orElse
114
getNonEmptyEnv("CI_COMMIT_ID") orElse
115
getNonEmptyEnv("WERCKER_GIT_COMMIT") orElse
116
- getNonEmptyEnv("CODEBUILD_RESOLVED_SOURCE_VERSION")
+ getNonEmptyEnv("CODEBUILD_RESOLVED_SOURCE_VERSION") orElse
117
+ getNonEmptyEnv("CI_COMMIT_SHA")
118
.filter(_.trim.nonEmpty)
119
}
120
0 commit comments