Package com.splunk.splunkjenkins.utils
Class BuildInfoArchiver
java.lang.Object
com.splunk.splunkjenkins.utils.BuildInfoArchiver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
run
(long startTime, long endTime) Send existing buildint
Send existing buildint
int
int
boolean
-
Constructor Details
-
BuildInfoArchiver
public BuildInfoArchiver()
-
-
Method Details
-
run
public int run(long startTime, long endTime) Send existing build- Parameters:
startTime
- the start time window of buildendTime
- the end time window of build- Returns:
- total number of builds whose result or log was resent
-
run
- Parameters:
jobName
- the job name, e.g. /folder/jobname or /job/folder/job/jobnamestartTime
- the start time window of buildendTime
- the end time window of build- Returns:
- total number of builds whose result or log was resent
-
run
- Parameters:
jobName
- the job name, e.g. /folder/jobname or /job/folder/job/jobnamepredicate
- function to check whether build apply- Returns:
- total number of builds whose result or log was resent
-
sendBuild
- Parameters:
buildUrl
- /job/folder/job/jobname/number- Returns:
- true if the build is resend
-
run
- Parameters:
jobName
- the job name, e.g. /folder/jobname or /job/folder/job/jobnamestart
- start build numberend
- end build number- Returns:
- total number of builds whose result or log was resent
-
run
Send existing build- Parameters:
item
- Jenkins job itempredicate
- function to check whether build apply- Returns:
- total number of builds whose result or log was resent
-