T - the type of the return value (may be Void)public abstract class HubotAbstractSynchronousNonBlockingStepExecution<T>
extends org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution<T>
AbstractSynchronousNonBlockingStepExecution,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected boolean |
failOnError |
HubotService |
hubotService |
protected PrintStream |
logger |
protected String |
siteName |
| Constructor and Description |
|---|
HubotAbstractSynchronousNonBlockingStepExecution() |
| Modifier and Type | Method and Description |
|---|---|
HubotService |
getHubotService(String url) |
protected <T> ResponseData<T> |
logResponse(ResponseData<T> response)
Log code and error message if any.
|
protected static String |
prepareBuildUser(List<hudson.model.Cause> causes)
Return the current build user.
|
protected <T> ResponseData<T> |
verifyCommon(BasicHubotStep step,
hudson.model.TaskListener listener,
hudson.EnvVars envVars) |
getStatus, onResume, run, start, stopprotected transient PrintStream logger
protected transient String siteName
public transient HubotService hubotService
protected transient boolean failOnError
public HubotAbstractSynchronousNonBlockingStepExecution()
protected <T> ResponseData<T> verifyCommon(BasicHubotStep step, hudson.model.TaskListener listener, hudson.EnvVars envVars) throws hudson.AbortException
hudson.AbortExceptionpublic HubotService getHubotService(String url)
protected <T> ResponseData<T> logResponse(ResponseData<T> response) throws hudson.AbortException
response - hudson.AbortException - if failOnError is true and response is not successful.Copyright © 2016–2017 ThoughtsLive. All rights reserved.