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.44.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.43.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.42.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.41.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.40.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.39.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.38.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.37.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.36.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.35.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.34.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.33.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.32.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.31.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.30.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.29.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.28.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.28.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.27.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.26.0 lib/knapsack_pro/config/ci/buildkite.rb