summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ci_runner.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ci_runner.rs b/src/ci_runner.rs
index 330490c..193c471 100644
--- a/src/ci_runner.rs
+++ b/src/ci_runner.rs
@@ -238,7 +238,7 @@ impl RunningJob {
if let Err(e) = checkout_res {
let status = "bad_ref";
let status = serde_json::json!({
- "kind": "job_status",
+ "kind": "task_status",
"state": "finished",
"result": status,
});
@@ -286,7 +286,7 @@ impl RunningJob {
Ok(status) => {
eprintln!("[+] job success!");
let status = serde_json::json!({
- "kind": "job_status",
+ "kind": "task_status",
"state": "finished",
"result": status
});
@@ -301,7 +301,7 @@ impl RunningJob {
eprintln!("[-] job error: {}", status);
let res = ctx.lock().unwrap().client.send(serde_json::json!({
- "kind": "job_status",
+ "kind": "task_status",
"state": "interrupted",
"result": status,
"desc": lua_err.to_string(),