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.17.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.16.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.16.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.15.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.14.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.13.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.12.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.12.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.11.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.10.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.10.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.9.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.8.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.7.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.6.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.5.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.4.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.3.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.2.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-1.2.0 lib/knapsack_pro/config/ci/buildkite.rb