Package hudson.plugins.sauce_ondemand
Class SauceOnDemandProjectAction
java.lang.Object
hudson.plugins.sauce_ondemand.AbstractAction
hudson.plugins.sauce_ondemand.SauceOnDemandProjectAction
- All Implemented Interfaces:
Action,ModelObject
Backing logic for the Sauce UI component displayed on the Jenkins project page.
- Author:
- Ross Rowe
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSauceOnDemandProjectAction(AbstractProject<?, ?> project) Deprecated.SauceOnDemandProjectAction(Job<?, ?> job) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGenerateSupportZip(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) getBuild()protected SauceCredentialsgetJobs()AbstractProject<?,?> Deprecated.booleanbooleanMethods inherited from class hudson.plugins.sauce_ondemand.AbstractAction
doJobReport, getDisplayName, getIconFileName, getUrlName
-
Field Details
-
job
Project that owns this action.- Since:
- 1.153
-
-
Constructor Details
-
SauceOnDemandProjectAction
Deprecated.Constructs a new instance.- Parameters:
project- the Jenkins project that is being displayed
-
SauceOnDemandProjectAction
Constructs a new instance.- Parameters:
job- the Jenkins job that is being displayed
-
-
Method Details
-
getProject
Deprecated.- Returns:
- The Jenkins project that is being displayed
-
hasSauceOnDemandResults
public boolean hasSauceOnDemandResults()- Returns:
- Whether sauce results were found for this project/builds
-
isSauceEnabled
public boolean isSauceEnabled()- Returns:
- boolean indicating whether the build is configured to include Sauce support
-
getJobsWithAuth
- Overrides:
getJobsWithAuthin classAbstractAction
-
getJobs
- Specified by:
getJobsin classAbstractAction
-
getBuild
-
getAnalytics
-
getCredentials
- Specified by:
getCredentialsin classAbstractAction
-
doGenerateSupportZip
public void doGenerateSupportZip(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException, IllegalAccessException, NoSuchMethodException, InvocationTargetException, InterruptedException - Throws:
IOExceptionjavax.servlet.ServletExceptionIllegalAccessExceptionNoSuchMethodExceptionInvocationTargetExceptionInterruptedException
-