lib/buildkite/builder/extensions/plugins.rb in buildkite-builder-3.9.0 vs lib/buildkite/builder/extensions/plugins.rb in buildkite-builder-4.0.0

- old
+ new

@@ -21,20 +21,9 @@ step.get(:plugins).map! do |plugin| resource, attributes = extract_resource_and_attributes(plugin) resource.is_a?(Symbol) ? manager.build(resource, attributes) : plugin end end - - context.data.pipelines.each do |pipeline| - pipeline.data.steps.each(:command) do |step| - next unless step.has?(:plugins) - - step.get(:plugins).map! do |plugin| - resource, attributes = extract_resource_and_attributes(plugin) - resource.is_a?(Symbol) ? manager.build(resource, attributes) : plugin - end - end - end end private def extract_resource_and_attributes(plugin)