public class JenkinsJsonJobResultsBase extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BROWSER_DOWNLOAD_DIR
-Dbrowser.download.dir= default is Downloads in user.home.
|
static String |
BROWSER_HELPER_APPS_NEVER_ASK_SAVE_TO_DISK
-Dbrowser.helperApps.neverAsk.saveToDisk= comma delimited list of MIME/Types to saveToDisk default is "application/zip".
|
static String |
JENKINS_BASE_URL
-Djenkins.base.url= default is http://ci.rice.kuali.org.
|
static String |
JENKINS_JOBS
REQUIRED -Djenkins.jobs= comma delimited with optional colon delimited list of jobs:jobNumbers.
|
static String |
JSON_OUTPUT_DIR
-Djson.output.dir= default is directory java is run from, directory must exist.
|
Constructor and Description |
---|
JenkinsJsonJobResultsBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
calcOutputFile(String job,
String jobNumber) |
protected void |
closeAndQuitWebDriver() |
protected List<String> |
fetchAllJobNumbers(String job) |
protected void |
fetchAndWriteTestReport(String job,
String jobNumber) |
protected void |
fetchAndWriteTestReport(String job,
String[] jobNumbers) |
protected void |
fetchArchive(String job,
String jobNumber) |
protected String |
fetchLastCompletedBuildNumber(String job) |
protected String |
retrieveJson(String url) |
void |
setUp() |
public static final String BROWSER_DOWNLOAD_DIR
public static final String BROWSER_HELPER_APPS_NEVER_ASK_SAVE_TO_DISK
public static final String JENKINS_BASE_URL
public static final String JENKINS_JOBS
public static final String JSON_OUTPUT_DIR
public JenkinsJsonJobResultsBase()
public void setUp() throws MalformedURLException, InterruptedException
protected String calcOutputFile(String job, String jobNumber)
protected void closeAndQuitWebDriver()
protected List<String> fetchAllJobNumbers(String job)
protected void fetchArchive(String job, String jobNumber) throws InterruptedException, IOException
InterruptedException
IOException
protected void fetchAndWriteTestReport(String job, String jobNumber) throws InterruptedException, IOException
InterruptedException
IOException
protected void fetchAndWriteTestReport(String job, String[] jobNumbers) throws InterruptedException, IOException
InterruptedException
IOException
protected String fetchLastCompletedBuildNumber(String job) throws InterruptedException
InterruptedException
protected String retrieveJson(String url) throws InterruptedException
InterruptedException
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.