Sha256: 00e2f9808d4d0fc76204b3e5e546aedcfdbab6b7e8f620f422f6bca26622c584

Contents?: true

Size: 644 Bytes

Versions: 54

Compression:

Stored size: 644 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 node_retry_count
          ENV['BUILDKITE_RETRY_COUNT']
        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

54 entries across 54 versions & 1 rubygems

Version Path
knapsack_pro-3.10.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.9.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.8.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.7.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.6.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.5.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.4.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.4.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.4.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.3.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.3.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.2.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.2.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.1.3 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.1.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.1.1 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.1.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-3.0.0 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-2.18.2 lib/knapsack_pro/config/ci/buildkite.rb
knapsack_pro-2.18.1 lib/knapsack_pro/config/ci/buildkite.rb