Skip to content

Commit cf8cb77

Browse files
fix env ariable COMMIT SHA Semaphore
1 parent b61ec82 commit cf8cb77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/codacy/rules/commituuid/providers/SemaphoreCIProvider.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ object SemaphoreCIProvider extends CommitUUIDProvider {
1212
}
1313

1414
override def getValidCommitUUID(environment: Map[String, String]): Either[String, CommitUUID] =
15-
parseEnvironmentVariable(environment.get("REVISION"))
15+
parseEnvironmentVariable(environment.get("SEMAPHORE_GIT_SHA"))
1616
}

0 commit comments

Comments
 (0)