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-1.1.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.0.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.0.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.0.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.57.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.56.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.55.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.55.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.55.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.54.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.53.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.52.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.51.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.50.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.50.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.49.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.48.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.47.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.46.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-0.45.0 lib/knapsack_pro/config/ci/buildkite.rb