lib/buildkite/builder/commands/run.rb in buildkite-builder-4.7.0 vs lib/buildkite/builder/commands/run.rb in buildkite-builder-4.8.0
- old
+ new
@@ -21,22 +21,9 @@
log.info "Pipeline already uploaded in #{Buildkite.env.step_id} step".color(:dimgray)
else
Pipeline.new(pipeline_path, logger: log).upload
end
end
-
- private
-
- def pipeline_path
- pipeline_path_override || super
- end
-
- def pipeline_path_override
- if ENV['BUILDKITE_BUILDER_PIPELINE_PATH']
- path = Pathname.new(ENV['BUILDKITE_BUILDER_PIPELINE_PATH'])
- path.absolute? ? path : Builder.root.join(path)
- end
- end
end
end
end
end