aboutsummaryrefslogtreecommitdiffstats
path: root/src/jenkins.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/jenkins.rs')
-rw-r--r--src/jenkins.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs
index 3269653..6bc1d8d 100644
--- a/src/jenkins.rs
+++ b/src/jenkins.rs
@@ -80,8 +80,13 @@ impl Job {
}
}
-pub fn find_and_track_build_and_update_status(commit_ref: CommitRef)
- -> Result<(), Box<Error>> {
+pub fn find_and_track_build_and_update_status(
+ commit_ref: CommitRef,
+ jenkins_url: &String,
+ jenkins_user_id: &String,
+ jenkins_token: &String,
+ github_token: &String,
+) -> Result<(), Box<Error>> {
let jobs = get_jobs(commit_ref.repo.as_ref())?;
let t20_minutes = 60 * 20;