From 6995551d163365391dbb4dcbfe5b2ef68bf840da Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 24 Jan 2018 19:32:47 -0500 Subject: [PATCH] Properly send job results to the job result queue --- ofborg/src/tasks/build.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ofborg/src/tasks/build.rs b/ofborg/src/tasks/build.rs index 7f9c36a..a8a5d70 100644 --- a/ofborg/src/tasks/build.rs +++ b/ofborg/src/tasks/build.rs @@ -174,9 +174,13 @@ impl<'a, 'b> JobActions<'a, 'b> { success: success, }; + let result_exchange = self.result_exchange.clone(); + let result_routing_key = self.result_routing_key.clone(); + + self.tell(worker::publish_serde_action( - Some("build-results".to_owned()), - None, + result_exchange, + result_routing_key, &msg, )); self.tell(worker::Action::Ack);