public class PretestedIntegrationAction extends Object implements hudson.model.Action
Constructor and Description |
---|
PretestedIntegrationAction(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
AbstractSCMBridge scmBridge) |
Modifier and Type | Method and Description |
---|---|
boolean |
finalise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
Invoked by the notifier, responsible for commiting or rolling back the
workspace
|
Commit<?> |
getCommit() |
Commit<?> |
getCurrentIntegrationTip() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
boolean |
initialise(hudson.Launcher launcher,
hudson.model.BuildListener listener)
Invoked before the build is started, responsible for preparing the
workspace
|
void |
setCurrentIntegrationTip(Commit<?> currentIntegrationTip) |
public PretestedIntegrationAction(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, AbstractSCMBridge scmBridge) throws NextCommitFailureException
NextCommitFailureException
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getUrlName()
getUrlName
in interface hudson.model.Action
public Commit<?> getCommit()
public boolean initialise(hudson.Launcher launcher, hudson.model.BuildListener listener) throws IntegationFailedExeception, NothingToDoException, EstablishWorkspaceException, UnsupportedConfigurationException
launcher
- listener
- IntegationFailedExeception
NothingToDoException
EstablishWorkspaceException
UnsupportedConfigurationException
public boolean finalise(hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException
launcher
- listener
- Boolean
indicating success or failureIllegalArgumentException
IOException
public Commit<?> getCurrentIntegrationTip()
public void setCurrentIntegrationTip(Commit<?> currentIntegrationTip)
currentIntegrationTip
- the currentIntegrationTip to setCopyright © 2004–2015. All rights reserved.