aboutsummaryrefslogtreecommitdiffstats
path: root/src/jenkins.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 00:14:43 +0100
committerTeddy Wing2017-11-09 00:14:43 +0100
commit675926019dc6782d009f53ff267e1d97d9eb0267 (patch)
tree0c1a44d6fcb8d03a613ff7db29ba32de4f8ec4c4 /src/jenkins.rs
parentf97fe77d32f32f09365af79495cb9f217d0af65a (diff)
downloadkipper-675926019dc6782d009f53ff267e1d97d9eb0267.tar.bz2
jenkins.rs: Rename `update_commit_status` function
Realised tonight that I had used the same name for this function and for the function in `github.rs` that updates the commit status on GitHub. Since it doesn't really make sense for these two different functions to have the same name, rename this one to be more specific about what it does.
Diffstat (limited to 'src/jenkins.rs')
-rw-r--r--src/jenkins.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs
index 543c970..42fe6e4 100644
--- a/src/jenkins.rs
+++ b/src/jenkins.rs
@@ -61,7 +61,7 @@ impl Job {
}
}
-pub fn update_commit_status(commit_ref) {
+pub fn find_and_track_build_and_update_status(commit_ref) {
let jobs = get_jobs();
for job_url in jobs {