Sha256: 56a1e38d200f00360b5af3239ec9abab26b59c852088c574aeec91c51496e744

Contents?: true

Size: 719 Bytes

Versions: 12

Compression:

Stored size: 719 Bytes

Contents

# https://www.appveyor.com/docs/environment-variables/
module KnapsackPro
  module Config
    module CI
      class AppVeyor < Base
        def node_total
          # not provided
        end

        def node_index
          # not provided
        end

        def node_build_id
          ENV['APPVEYOR_BUILD_ID']
        end

        def commit_hash
          ENV['APPVEYOR_REPO_COMMIT']
        end

        def branch
          ENV['APPVEYOR_REPO_BRANCH']
        end

        def project_dir
          ENV['APPVEYOR_BUILD_FOLDER']
        end

        def detected
          ENV.key?('APPVEYOR') ? self.class : nil
        end

        def fixed_queue_split
          false
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
knapsack_pro-5.3.5 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.3.4 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.3.3 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.3.2 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.3.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.3.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.2.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.2.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.1.2 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.1.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.1.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-5.0.0 lib/knapsack_pro/config/ci/app_veyor.rb