Uses of Class
com.atlassian.bamboo.specs.builders.task.ScriptTask
Packages that use ScriptTask
Package
Description
Tasks you can execute in a job, such as: source code checkout, Maven build or a shell script.
-
Uses of ScriptTask in com.atlassian.bamboo.specs.builders.task
Methods in com.atlassian.bamboo.specs.builders.task that return ScriptTaskModifier and TypeMethodDescriptionSets command line argument to be passed when script is executed.ScriptTask.environmentVariables(@NotNull String environmentVariables) Sets environment variables to be set when script is executed.ScriptTask.fileFromPath(@NotNull String path) Sets the file path of script to execute.ScriptTask.fileFromPath(@NotNull Path path) Sets the file path of script to execute.ScriptTask.inlineBody(@NotNull String body) Sets body of the script to execute.ScriptTask.inlineBodyFromPath(@NotNull Path path) Sets body of the script to execute from a file.ScriptTask.interpreter(ScriptTaskProperties.Interpreter interpreter) Selects interpreter that will run the script.ScriptTask.interpreterBinSh()Specifies that script will be run by /bin/sh.ScriptTask.interpreterCmdExe()Selects that script should be run by cmd.exe.ScriptTask.interpreterShell()Specifies that script will be run by an interpreter chosen based on the shebang line of the script.ScriptTask.interpreterWindowsPowerShell()Specifies that script will be run by Windows PowerShell.ScriptTask.location(ScriptTaskProperties.Location location) Specifies the source of script to run.ScriptTask.workingSubdirectory(@NotNull String workingSubdirectory) Sets a directory the script should be executed in.