| Package | Description |
|---|---|
| com.atlassian.bamboo.specs.builders.task |
Tasks you can execute in a job, such as: source code checkout, Maven build or a shell script.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptTask |
ScriptTask.argument(@NotNull String argument)
Sets command line argument to be passed when script is executed.
|
ScriptTask |
ScriptTask.environmentVariables(@NotNull String environmentVariables)
Sets environment variables to be set when script is executed.
|
ScriptTask |
ScriptTask.fileFromPath(@NotNull Path path)
Sets the file path of script to execute.
|
ScriptTask |
ScriptTask.fileFromPath(@NotNull String path)
Sets the file path of script to execute.
|
ScriptTask |
ScriptTask.inlineBody(@NotNull String body)
Sets body of the script to execute.
|
ScriptTask |
ScriptTask.inlineBodyFromPath(@NotNull Path path)
Sets body of the script to execute from a file.
|
ScriptTask |
ScriptTask.interpreter(ScriptTaskProperties.Interpreter interpreter)
Selects interpreter that will run the script.
|
ScriptTask |
ScriptTask.interpreterBinSh()
Specifies that script will be run by /bin/sh.
|
ScriptTask |
ScriptTask.interpreterCmdExe()
Selects that script should be run by cmd.exe.
|
ScriptTask |
ScriptTask.interpreterShell()
Specifies that script will be run by an interpreter chosen based on the shebang line of the script.
|
ScriptTask |
ScriptTask.interpreterWindowsPowerShell()
Specifies that script will be run by Windows PowerShell.
|
ScriptTask |
ScriptTask.location(ScriptTaskProperties.Location location)
Specifies the source of script to run.
|
ScriptTask |
ScriptTask.workingSubdirectory(@NotNull String workingSubdirectory)
Sets a directory the script should be executed in.
|
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.