packageBuild
Creates a build artifact containing file(s) and folder(s) selected on the Project Files tab of a project. This artifact is then used by the packageDeploy operation.
The project file attributes can be defaulted for the project using project properties. Then at populate or evaluate time, the defaults are used to fill the project file attributes. Those attributes are used at deploy time. The attributes are stored with the object, not the build, so it is possible to change the attributes and then deploy again without another build in between.
This operation can only be used in package deployment projects of type file.
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Root Target Folder |
| No | The path in which to create and update file and folder objects. If left blank, the FD_TEMP_DIR will be used. Unlike the rest of the properties on this operation, this one is not a default. Its value is pulled at deploy time, not populate and evaluate time. |
Use Source Path Default |
| No | When populating or evaluating project files, default the Use source path value to this. Defaults to true(checked ). |
Ignore Failure Default |
| No | When populating or evaluating project files, default the Ignore Failure value to this. Defaults to false (unchecked ). |
Owner:Group File Default |
| No | When populating or evaluating Files, default the Owner:Group value to this. |
Owner:Group Folder Default |
| No | When populating or evaluating Folders, default the Owner:Group value to this. |
Permissions File Default |
| No | When populating or evaluating Files, default the Permissions to this. |
Permissions Folder Default |
| No | When populating or evaluating Folders, default the Permissions to this. |
Property Replacement Default |
| No | When populating or evaluating Files, default the Property Replacement option to this. Defaults to true(checked ). |
Execute Default |
| No | When populating or evaluating Files, default the execute option to this. Defaults to false (unchecked ). |
Ignore Property Replacement Extension | FDFILE_IGNORE_PROPERTY_REPLACEMENT_EXTENSIONS | No | Ignore the Property Replacement for listed file extensions. Default is gz,gzip,exe,rpm,png,jpg,jpeg,bmp,gif,jar,zip,7z,pdf,pll,pld,fmb,fmx,mmb,mmx,rdf,rep,rex,ear,war,class,png,tif,tiff,dll,xls,xlsx,doc,docx,ppt,pptx,tgz,pyc,pyo,pyd,sys,mp4,mkv,avi,mov,mpg,vob,mp3,aac,wav,flac,mka,wma,mdb,sqlite. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
File Filter |
| No | Wildcard compatible expression to select file(s). You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not) |
File Exclude Filter |
| No | Wildcard compatible expression to exclude file(s) OR folders. You can enter multiple filter expressions separated by ##. Leave empty to select all files. The ## performs an OR expression. This will filter Files or Directory names but not the path. (e.g. for "/this/is/a/test/path" if you use "path" it will filter it, if you use "/this/is/a/test/path" it will not) |
Source Path |
| Yes | The source directory to copy file(s) from. The |
Target Path |
| Yes | The target directory where file(s) are to be transferred. The |
Clean Directory |
| No | Flag to indicate if the target path should be cleaned before copy. |
Artifacts
This operation produces an artifact that will be stored in the artifacts repository. The artifact contains the files that were selected on the Project Files page.
Endpoint Selection
This operation will select all available endpoints associated to the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
Package Deployment File Object Type Details
- style