Sha256: f82ba76fd1ab56a873e6fff7159bbe36e9133f86cf1566e07deee80d1aef28b7

Contents?: true

Size: 888 Bytes

Versions: 23

Compression:

Stored size: 888 Bytes

Contents

# frozen_string_literal: true

# 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 user_seat
          ENV['APPVEYOR_REPO_COMMIT_AUTHOR']
        end

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

        def fixed_queue_split
          false
        end

        def ci_provider
          "AppVeyor"
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
knapsack_pro-7.13.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.12.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.12.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.11.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.10.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.9.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.8.2 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.8.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.8.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.7.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.6.2 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.6.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.6.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.1.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.0.1 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-7.0.0 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-6.0.4 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-6.0.3 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-6.0.2 lib/knapsack_pro/config/ci/app_veyor.rb
knapsack_pro-6.0.1 lib/knapsack_pro/config/ci/app_veyor.rb