| 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 |
|---|---|
List<CopyFileToContainer> |
copyFiles |
Property<String> |
hostPathFile path on host to copy into container |
Property<String> |
remotePathPath of file inside container |
RegularFileProperty |
tarFileTar file we will copy into container |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
runRemoteCommand() |
|
void |
withFile(def hostPath, def remotePath)Add a file to be copied into container |
|
void |
withTarFile(def hostPath, def remotePath)Add a tarfile to be copied into container |
Tar file we will copy into container
Add a file to be copied into container
hostPath - can be either String, GString, File or Closure which returns any of the previous.remotePath - can be either String, GString, File or Closure which returns any of the previous.