2015-09-13 20:25:26 +00:00
|
|
|
@0xc2cbd510f16dab57;
|
|
|
|
|
|
|
|
interface LaminarCi {
|
|
|
|
|
2022-01-21 20:07:08 +00:00
|
|
|
queue @0 (jobName :Text, params :List(JobParam), frontOfQueue :Bool) -> (result :MethodResult, buildNum :UInt32);
|
|
|
|
start @1 (jobName :Text, params :List(JobParam), frontOfQueue :Bool) -> (result :MethodResult, buildNum :UInt32);
|
|
|
|
run @2 (jobName :Text, params :List(JobParam), frontOfQueue :Bool) -> (result :JobResult, buildNum :UInt32);
|
2021-12-05 00:41:05 +00:00
|
|
|
listQueued @3 () -> (result :List(Run));
|
2019-12-21 13:29:37 +00:00
|
|
|
listRunning @4 () -> (result :List(Run));
|
|
|
|
listKnown @5 () -> (result :List(Text));
|
|
|
|
abort @6 (run :Run) -> (result :MethodResult);
|
2018-10-12 14:22:21 +00:00
|
|
|
|
|
|
|
struct Run {
|
|
|
|
job @0 :Text;
|
|
|
|
buildNum @1 :UInt32;
|
|
|
|
}
|
2015-09-13 20:25:26 +00:00
|
|
|
|
|
|
|
struct JobParam {
|
|
|
|
name @0 :Text;
|
|
|
|
value @1 :Text;
|
|
|
|
}
|
|
|
|
|
|
|
|
enum MethodResult {
|
|
|
|
failed @0;
|
|
|
|
success @1;
|
|
|
|
}
|
|
|
|
|
|
|
|
enum JobResult {
|
|
|
|
unknown @0;
|
|
|
|
failed @1;
|
|
|
|
aborted @2;
|
|
|
|
success @3;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|