Fields inherited from class | Fields |
---|---|
class DefaultTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
Type | Name and description |
---|---|
Property<Boolean> |
attachStderr |
Property<Boolean> |
attachStdout |
ListProperty<String> |
commands |
ListProperty<String> |
execIds |
ExecProbe |
execProbe |
ListProperty<Integer> |
successOnExitCodes |
Property<String> |
user Username or UID to execute the command as, with optional colon separated group or gid in format: <name|uid>[:<group|gid>] |
Property<String> |
workingDir Working directory in which the command is going to be executed. |
Constructor and description |
---|
DockerExecContainer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
doRunRemoteCommand(com.github.dockerjava.api.DockerClient dockerClient) |
|
def |
execProbe(long pollTime, long pollInterval) Define the livenessProbe options for this exec. |
|
void |
runRemoteCommand() |
|
void |
withCommand(List<String> commandsToExecute) |
|
void |
withCommand(String[] commandsToExecute) |
Username or UID to execute the command as, with optional colon separated group or gid in format: <name|uid>[:<group|gid>]
Define the livenessProbe options for this exec.
pollTime
- how long we will poll forpollInterval
- interval between poll requestsGroovy Documentation