Module: CodeBuildNotifier::Git

Defined in:
lib/codebuild-notifier/git.rb

Class Method Summary collapse

Class Method Details

.current_commitObject



20
21
22
# File 'lib/codebuild-notifier/git.rb', line 20

def current_commit
  `git show -s --format='%h|%aN|%aE|%cN|%cE|%s'`.chomp.split('|')
end