lib/evrone/ci/router.rb in evrone-ci-router-0.2.0.pre5 vs lib/evrone/ci/router.rb in evrone-ci-router-0.2.0.pre6
- old
+ new
@@ -132,19 +132,9 @@
rs
end
private
- def scm
- @scm ||= SCM::Git.new(
- build.message.src,
- build.message.sha,
- repo_dir,
- deploy_key: build.message.deploy_key,
- &build.method(:add_to_output)
- )
- end
-
def publish_build_status_message(status)
message = build.to_build_status_message(status)
logger.info "delivered build status #{message.inspect}"
BuildStatusConsumer.publish message
end