Updated on 2024-09-04 GMT+08:00

Deleting a File

This action aims to delete a file or folder from a host in a specified environment. The following table shows the configuration.

Table 1 Parameters

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Environment

Select a host cluster as the deployment object.

File Path

Path of the file or folder to delete.

NOTE:

If a file path is specified, the file is deleted. If a folder path is specified, the folder and all files in the folder are deleted.

Control Options

  • Enable this action.
  • Continue the task even if this action fails.
  • Execute this action with the sudo permission.

If you encounter any problem during deployment, see Solutions to Common Problems.