Sha256: 13d72cb2d8dfaebad319922d8e27c77daddcf76932d005c9c37e396cbb996da3
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
module Jets::Git class Circleci def params params = { git_system: 'circleci', git_branch: git_branch, git_sha: git_sha, git_dirty: false, # git_message: nil, # git_version: nil, } # params[:git_url] = git_url if git_url params end def git_branch ENV['CIRCLE_BRANCH'] end def git_sha ENV['CIRCLE_SHA1'] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jets-git-0.2.1 | lib/jets/git/circleci.rb |
jets-git-0.2.0 | lib/jets/git/circleci.rb |