Sha256: 749ca195945d2c8414a38aff441610c196fc88e663fea561c3d9560fffb8d11c

Contents?: true

Size: 563 Bytes

Versions: 68

Compression:

Stored size: 563 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 node_build_id
          ENV['BUILDKITE_BUILD_NUMBER']
        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

68 entries across 68 versions & 1 rubygems

Version Path
knapsack_pro-0.25.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.24.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.23.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.22.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.21.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.20.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.19.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.18.0 lib/knapsack_pro/config/ci/buildkite.rb