build results: pass the attempt ID back in the BuildResult
This commit is contained in:
parent
4aaab0644a
commit
031156dc30
|
@ -6,5 +6,6 @@ pub struct BuildResult {
|
|||
pub pr: Pr,
|
||||
pub system: String,
|
||||
pub output: Vec<String>,
|
||||
pub attempt_id: Option<String>,
|
||||
pub success: bool,
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
|
|||
pr: self.job.pr.clone(),
|
||||
system: self.system.clone(),
|
||||
output: vec![String::from("Merge failed")],
|
||||
|
||||
attempt_id: Some(self.attempt_id.clone()),
|
||||
success: false,
|
||||
};
|
||||
|
||||
|
@ -171,6 +171,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
|
|||
pr: self.job.pr.clone(),
|
||||
system: self.system.clone(),
|
||||
output: lines,
|
||||
attempt_id: Some(self.attempt_id.clone()),
|
||||
success: success,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue