From 67869640ecdb02e655dbd99de6283ef117bbe4ac Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Fri, 19 Jan 2018 09:44:44 -0500 Subject: [PATCH] cherry-pick BuildLogMsg --- ofborg/src/message/buildlogmsg.rs | 9 +++++++++ ofborg/src/message/mod.rs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 ofborg/src/message/buildlogmsg.rs diff --git a/ofborg/src/message/buildlogmsg.rs b/ofborg/src/message/buildlogmsg.rs new file mode 100644 index 0000000..551bdb3 --- /dev/null +++ b/ofborg/src/message/buildlogmsg.rs @@ -0,0 +1,9 @@ +use ofborg::message::{Pr,Repo}; + +#[derive(Serialize, Deserialize, Debug)] +pub struct BuildLogMsg { + pub line_number: u64, + pub output: String, + pub identity: String, + pub system: String, +} diff --git a/ofborg/src/message/mod.rs b/ofborg/src/message/mod.rs index f9fd80d..2fe698e 100644 --- a/ofborg/src/message/mod.rs +++ b/ofborg/src/message/mod.rs @@ -3,6 +3,6 @@ pub mod buildjob; pub mod buildresult; pub mod massrebuildjob; pub mod plasticheartbeat; - +pub mod buildlogmsg; pub use self::common::{Pr,Repo};