Sha256: 80cd3215d0bb17427062316cbd0eb8232485a3f97df728987c0bf23f30693af1
Contents?: true
Size: 622 Bytes
Versions: 3
Compression:
Stored size: 622 Bytes
Contents
module KnapsackPro module Config module CI class Circle < Base def node_total ENV['CIRCLE_NODE_TOTAL'] end def node_index ENV['CIRCLE_NODE_INDEX'] end def node_build_id ENV['CIRCLE_BUILD_NUM'] end def commit_hash ENV['CIRCLE_SHA1'] end def branch ENV['CIRCLE_BRANCH'] end def project_dir ENV['CIRCLE_WORKING_DIRECTORY'] end def user_seat ENV['CIRCLE_USERNAME'] || ENV['CIRCLE_PR_USERNAME'] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
knapsack_pro-4.1.0 | lib/knapsack_pro/config/ci/circle.rb |
knapsack_pro-4.0.0 | lib/knapsack_pro/config/ci/circle.rb |
knapsack_pro-3.11.0 | lib/knapsack_pro/config/ci/circle.rb |