JFrog Pipelines Documentation

JFrog Pipelines
Content Type
User Guide


Copies files stored in the affinity group workspace by add_affinity_group_files to the specified location. The restore behavior differs from the other state restore functions to better handle wildcard patterns with a variable number of matching files or directories. With restore_affinity_group_files, the relative path specified in the add_affinity_group_files function will be preserved (excluding any traversal to parent directories) and the path specified should be the base for that relative path. The following examples are to symmetrically restore the files saved in the examples above for add_affinity_group_files. No error will occur if no files were saved for <name>.


restore_affinity_group_files <name> <path>

  • name is the name the files to be restored were given when storing the files with add_affinity_group_files.

  • path is a path at which to place the file or files.