Sha256: c61ee0477214a676f8cecbdc030b0a8d67213ecfcc323015cd60f4ca51db1870

Contents?: true

Size: 567 Bytes

Versions: 61

Compression:

Stored size: 567 Bytes

Contents

# https://codefresh.io/docs/docs/codefresh-yaml/variables/#system-provided-variables
module KnapsackPro
  module Config
    module CI
      class Codefresh < Base
        def node_total
          # not provided
        end

        def node_index
          # not provided
        end

        def node_build_id
          ENV['CF_BUILD_ID']
        end

        def commit_hash
          ENV['CF_REVISION']
        end

        def branch
          ENV['CF_BRANCH']
        end

        def project_dir
          # not provided
        end
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
knapsack_pro-1.15.0 lib/knapsack_pro/config/ci/codefresh.rb