Sha256: c48d81759b63ca7f6ecd9bb1ec00915b914ad483c26aba09aa9781d921a96e8d

Contents?: true

Size: 484 Bytes

Versions: 25

Compression:

Stored size: 484 Bytes

Contents

module KnapsackPro
  module Config
    module CI
      class Buildkite < Base
        def node_total
          ENV['BUILDKITE_PARALLEL_JOB_COUNT']
        end

        def node_index
          ENV['BUILDKITE_PARALLEL_JOB']
        end

        def commit_hash
          ENV['BUILDKITE_COMMIT']
        end

        def branch
          ENV['BUILDKITE_BRANCH']
        end

        def project_dir
          ENV['BUILDKITE_BUILD_CHECKOUT_PATH']
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
knapsack_pro-0.17.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.16.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.15.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.15.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.15.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.14.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.13.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.12.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.11.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.10.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.9.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.8.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.7.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.7.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.7.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.6.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.6.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.5.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.4.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.3.0 lib/knapsack_pro/config/ci/buildkite.rb