Sha256: f8aca29fb446f416540f560161597d5e0aa70e6e3bd22a39be011f86da3405c6

Contents?: true

Size: 425 Bytes

Versions: 14

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

module Buildkite
  module Pipelines
    module Helpers
      module Plugins
        def plugin(name_or_source, options = nil)
          attributes['plugins'] ||= Buildkite::Builder::PluginCollection.new(step_collection.plugins)
          attributes['plugins'].add(name_or_source, options)
        end

        def plugins
          attributes['plugins']
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
buildkite-builder-3.4.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.3.2 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.3.1 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.3.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.2.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.1.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-3.0.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.4.1 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.4.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.3.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.2.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.1.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.0.0 lib/buildkite/pipelines/helpers/plugins.rb
buildkite-builder-2.0.0.beta4 lib/buildkite/pipelines/helpers/plugins.rb