Method: Datadog::CI::Git::LocalRepository.git_commit_sha
- Defined in:
- lib/datadog/ci/git/local_repository.rb
.git_commit_sha ⇒ Object
114 115 116 117 118 119 |
# File 'lib/datadog/ci/git/local_repository.rb', line 114 def self.git_commit_sha exec_git_command("git rev-parse HEAD") rescue => e log_failure(e, "git commit sha") nil end |