diff options
author | Teddy Wing | 2017-11-16 01:20:58 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-16 01:20:58 +0100 |
commit | af60808e9d4c7db14822b4eebf813d616ffbc30d (patch) | |
tree | bcc1b76075773929e103ed6ee601be53231f16be | |
parent | f9b13604484fa7924efb8cde0dd26de0276065ff (diff) | |
download | kipper-af60808e9d4c7db14822b4eebf813d616ffbc30d.tar.bz2 |
find_and_track_build_and_update_status(): Fix final GitHub call
I had mistakenly (stupidly) used the wrong `job` variable. Duh, that's
why it was sending a "pending" status when the job was finished! Use the
correct variable, `updated_job`, to update the correct GitHub status.
-rw-r--r-- | src/jenkins.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs index d61e7d0..5c43cd9 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -200,7 +200,7 @@ pub fn find_and_track_build_and_update_status( github::update_commit_status( &github_token, &commit_ref, - &job.result.commit_status(), + &updated_job.result.commit_status(), job_url.clone(), None, "continuous-integration/jenkins".to_owned() |