public class CommandTask extends Task<CommandTask,CommandTaskProperties>
description, requirements, taskEnabled| Constructor and Description |
|---|
CommandTask() |
| Modifier and Type | Method and Description |
|---|---|
CommandTask |
argument(String argument)
Sets command line argument to be passed when command is executed.
|
protected CommandTaskProperties |
build() |
CommandTask |
environmentVariables(String environmentVariables)
Sets environment variables to be set when command is executed.
|
CommandTask |
executable(String executable)
Sets label (not a path) of command to be executed.
|
CommandTask |
workingSubdirectory(String workingSubdirectory)
Sets a directory the command should be executed in.
|
description, enabled, requirementspublic CommandTask executable(@NotNull String executable)
public CommandTask argument(@NotNull String argument)
public CommandTask environmentVariables(@NotNull String environmentVariables)
public CommandTask workingSubdirectory(@NotNull String workingSubdirectory)
@NotNull protected CommandTaskProperties build()
build in class Task<CommandTask,CommandTaskProperties>Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.