Class ScriptBuildTask
java.lang.Object
com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
com.atlassian.bamboo.plugins.script.task.ScriptBuildTask
- All Implemented Interfaces:
CommonTaskType,InternalTaskType
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
environmentVariableAccessor, processService -
Constructor Summary
ConstructorsConstructorDescriptionScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, HomeDirectoryLayout homeDirectoryLayout) -
Method Summary
Modifier and TypeMethodDescription@NotNull TaskResultexecute(@NotNull CommonTaskContext taskContext) Executes the task.protected ScriptConfiggetConfig(@NotNull CommonTaskContext taskContext) Methods inherited from class com.atlassian.bamboo.plugins.shell.task.AbstractShellBuildTask
execute
-
Constructor Details
-
ScriptBuildTask
public ScriptBuildTask(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, HomeDirectoryLayout homeDirectoryLayout)
-
-
Method Details
-
getConfig
- Specified by:
getConfigin classAbstractShellBuildTask
-
execute
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException Description copied from interface:CommonTaskTypeExecutes the task.- Specified by:
executein interfaceCommonTaskType- Overrides:
executein classAbstractShellBuildTask- Returns:
- a
TaskResultrepresenting the status of the task execution - Throws:
TaskException
-