From d3857bd9ab098f9c94f27a0a3a6799912baae24b Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sun, 21 Jan 2018 14:29:48 -0500 Subject: [PATCH] Send logs to per-PR queues --- ofborg/src/tasks/githubcommentfilter.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ofborg/src/tasks/githubcommentfilter.rs b/ofborg/src/tasks/githubcommentfilter.rs index 7151d93..02ce2b2 100644 --- a/ofborg/src/tasks/githubcommentfilter.rs +++ b/ofborg/src/tasks/githubcommentfilter.rs @@ -111,12 +111,17 @@ impl worker::SimpleWorker for GitHubCommentWorker { for instruction in instructions { match instruction { commentparser::Instruction::Build(subset, attrs) => { + let logbackrk = format!( + "{}.{}", + job.repository.full_name.clone(), + job.issue.number.clone() + ); let msg = buildjob::BuildJob { repo: repo_msg.clone(), pr: pr_msg.clone(), subset: Some(subset), attrs: attrs, - logs: Some(("logs".to_owned(), "build.log".to_owned())), + logs: Some(("logs".to_owned(), logbackrk)), }; response.push(worker::publish_serde_action(