lib/buildkite/builder/commands/run.rb in buildkite-builder-1.4.1 vs lib/buildkite/builder/commands/run.rb in buildkite-builder-2.0.0.beta1
- old
+ new
@@ -14,10 +14,10 @@
relative_pipeline_path = pipeline_path.relative_path_from(Builder.root)
# This entrypoint is for running on CI. It expects certain environment
# variables to be set. It also uploads the pipeline to Buildkite.
log.info "#{'+++ ' if Buildkite.env}🧰 " + 'Buildkite Builder'.color(:springgreen) + " ─ #{relative_pipeline_path.to_s.yellow}"
- Context.new(pipeline_path, logger: log).upload
+ Pipeline.new(pipeline_path, logger: log).upload
end
private
def pipeline_path