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
ConstructorDescriptionScriptBuildTask
(EnvironmentVariableAccessor environmentVariableAccessor, ProcessService processService, HomeDirectoryLayout homeDirectoryLayout) -
Method Summary
Modifier and TypeMethodDescription@NotNull TaskResult
execute
(@NotNull CommonTaskContext taskContext) Executes the task.protected ScriptConfig
getConfig
(@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:
getConfig
in classAbstractShellBuildTask
-
execute
@NotNull public @NotNull TaskResult execute(@NotNull @NotNull CommonTaskContext taskContext) throws TaskException Description copied from interface:CommonTaskType
Executes the task.- Specified by:
execute
in interfaceCommonTaskType
- Overrides:
execute
in classAbstractShellBuildTask
- Returns:
- a
TaskResult
representing the status of the task execution - Throws:
TaskException
-