Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Zips up a folder into a zip file.

  

Environment/Instance Properties

...

Property Name

...

Description

  

Project Properties

...

Property Name

...

Required

...

Description

  

Inputs

Input Name

Input Code

Required

Description

File Filter

FDFILE_INP_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.


See the Filter Examples.

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

FDFILE_INP_FILE_FILTER_EXCLUDED

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.


See the Filter Examples.

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

FDFILE_INP_SOURCE_PATH

No

The path containing the files to be zipped. Default is FD_TEMP_DIR.

Target Path

FDFILE_INP_TARGET_PATH

No

The absolute path to a target Zip (or Jar, War, Ear, etc) file to create.

Groovy may be helpful in this field. (e.g. FD_TEMP_DIR + '/zipFile.zip')

Clean Directory

FDFILE_INP_CLEAN_DIRECTORY

No

Flag to indicate if the target path should be cleaned before copy.

  

Outputs

...

Output Name

...

Required

...

Description

Artifacts

This operation delegates the consumes/produces artifacts decision to the workflow developer. Check Consumes Artifacts on the workflow step editor if this operation requires artifacts to be delivered prior to execution of the script. Check Produces Artifacts on the workflow step editor if this operation creates artifacts. The artifacts folder is available via the FD_ARTIFACTS_DIR variable.

...

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the environment instanceTarget. Selecting a specific resource will result in selection of endpoints associated to the environment instance Target which have that resource defined.

...