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.2.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.2.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.1.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.1.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.1.0 lib/knapsack_pro/config/ci/buildkite.rb