Send logs to per-PR queues
This commit is contained in:
parent
d1c2512a2d
commit
d3857bd9ab
1 changed files with 6 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue