Class Collector
java.lang.Object
com.jenkins.testresultsaggregator.actions.Collector
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
collectResults
(List<Data> dataJob, boolean compareWithPreviousRun, Boolean ignoreRunningJobs) getBuildDetails
(Job job, Integer number) getBuildDetailsMode
(Job job, Integer number, int mode) getDetails
(Job job) getLastBuildDetails
(Job job)
-
Field Details
-
ROOT_FOLDER
- See Also:
-
parrallelThreads
public static final int parrallelThreads- See Also:
-
delayThreads
public static final int delayThreads- See Also:
-
maxThreadTime
public static final int maxThreadTime- See Also:
-
DEPTH
- See Also:
-
-
Constructor Details
-
Collector
public Collector(String jenkinsUrl, String username, Secret password, PrintStream printStream, List<Data> data) throws URISyntaxException, IOException - Throws:
URISyntaxException
IOException
-
-
Method Details
-
closeJenkinsConnection
public void closeJenkinsConnection() -
getDetails
- Throws:
Exception
-
getLastBuildDetails
- Throws:
Exception
-
getBuildDetails
- Throws:
Exception
-
getBuildDetailsMode
public BuildWithDetailsAggregator getBuildDetailsMode(Job job, Integer number, int mode) throws Exception - Throws:
Exception
-
collectResults
public void collectResults(List<Data> dataJob, boolean compareWithPreviousRun, Boolean ignoreRunningJobs) throws InterruptedException - Throws:
InterruptedException
-