Creates a local file using given contents and permissions.
Inputs
Input Name | Input Code | Required | Description | |||||
---|---|---|---|---|---|---|---|---|
Contents |
| Yes | The content to be placed into the newly created file. FlexDeploy property replacement can be used in the file content. For example: Contents
| |||||
File Path |
| Yes | Full file path (including name) of the file to create. You can easily save to artifacts by using the following groovy snippet: File Path
Remember to check 'Produces Artifacts' if you want to save artifacts | |||||
Overwrite Existing File |
| Yes | If the file specified in the File Path input exists, should it be overwritten? If the file exists and this is false then an exception will be thrown. | |||||
Owner Permissions |
| Yes | The owner permissions to give the file. Defaults to 'Read, Write, and Execute'. | |||||
Other User Permissions |
| Yes | Other user permissions to give the file. Defaults to readonly. |
...