lib/evrone/ci/router/consumers/builds_consumer.rb in evrone-ci-router-0.2.0.pre0 vs lib/evrone/ci/router/consumers/builds_consumer.rb in evrone-ci-router-0.2.0.pre1
- old
+ new
@@ -14,10 +14,10 @@
model Message::PerformBuild
def perform(message)
build = Build.new message
number = Thread.current[:consumer_id] || 0
- path_prefix = "/tmp/.test/build.#{number}"
+ path_prefix = "#{Router.config.path_prefix}/build.#{number}"
Router.new(build, path_prefix).perform
ack!
end