module CodeBuildNotifier::Git

Public Class Methods

current_commit() click to toggle source
# File lib/codebuild-notifier/git.rb, line 20
def current_commit
  `git show -s --format='%h|%aN|%aE|%cN|%cE|%s'`.chomp.split('|')
end

Private Instance Methods

current_commit() click to toggle source
# File lib/codebuild-notifier/git.rb, line 20
def current_commit
  `git show -s --format='%h|%aN|%aE|%cN|%cE|%s'`.chomp.split('|')
end