Class: Jets::Git::Circleci
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#git_branch ⇒ Object
15 16 17 |
# File 'lib/jets/git/circleci.rb', line 15 def git_branch ENV["CIRCLE_BRANCH"] end |
#git_sha ⇒ Object
19 20 21 |
# File 'lib/jets/git/circleci.rb', line 19 def git_sha ENV["CIRCLE_SHA1"] end |
#info ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/jets/git/circleci.rb', line 3 def info { git_system: "circleci", git_branch: git_branch, git_sha: git_sha, git_dirty: false # git_message: nil, # git_version: nil, } # info[:git_url] = git_url if git_url end |