B
- the build in progress.public class StartHotfixAction<B extends hudson.model.AbstractBuild<?,?>> extends AbstractGitflowAction<B,StartHotfixCause>
additionalBuildEnvVars, buildTypeAction, git, gitflowCause, gitflowPluginData
build, consoleLogger, listener
Constructor and Description |
---|
StartHotfixAction(BC build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
GitClientProxy git,
StartHotfixCause startHotfixCause)
Initialises a new Start Hotfix action.
|
Modifier and Type | Method and Description |
---|---|
protected void |
afterMainBuildInternal()
Runs the Gitflow actions that must be executed after the main build.
|
protected void |
beforeMainBuildInternal()
Runs the Gitflow actions that must be executed before the main build.
|
String |
getActionName()
Returns the action-specific name for console messages.
|
addFilesToGitStage, afterMainBuild, beforeMainBuild, cleanCheckout, deleteBranch, getAdditionalBuildEnvVars
formatPattern, getBuildResultNonNull
public StartHotfixAction(BC build, hudson.Launcher launcher, hudson.model.BuildListener listener, GitClientProxy git, StartHotfixCause startHotfixCause) throws IOException, InterruptedException
BC
- the build in progress.build
- the Start Hotfix build that is in progress.launcher
- can be used to launch processes for this build - even if the build runs remotely.listener
- can be used to send any message.git
- the Git client used to execute commands for the Gitflow actions.startHotfixCause
- the cause for the new action.IOException
- if an error occurs that causes/should cause the build to fail.InterruptedException
- if the build is interrupted during execution.public String getActionName()
getActionName
in class AbstractGitflowAction<B extends hudson.model.AbstractBuild<?,?>,StartHotfixCause>
protected void beforeMainBuildInternal() throws IOException, InterruptedException
beforeMainBuildInternal
in class AbstractGitflowAction<B extends hudson.model.AbstractBuild<?,?>,StartHotfixCause>
IOException
- if an error occurs that causes/should cause the build to fail.InterruptedException
- if the build is interrupted during execution.protected void afterMainBuildInternal() throws IOException, InterruptedException
afterMainBuildInternal
in class AbstractGitflowAction<B extends hudson.model.AbstractBuild<?,?>,StartHotfixCause>
IOException
- if an error occurs that causes/should cause the build to fail.InterruptedException
- if the build is interrupted during execution.Copyright © 2014–2017 Silpion IT-Solutions GmbH. All rights reserved.