Example, / must be used for Linux agents. You must use the path separator that matches your build agent type. So you should specify patterns such as **\bin\** instead of **\bin. The pattern is used to match only file paths, not folder paths. **\bin\** copies all files recursively from any bin folder.** copies all files in the specified source folder and all files in all sub-folders.* copies all files in the specified source folder.Supports multiple lines of match patterns. (Required) File paths to include as part of the copy. If your build produces artifacts outside of the sources directory, specify $(Agent.BuildDirectory) to copy files from the directory created for the pipeline. If you leave it empty, the copying is done from the root folder of the repo (same as if you had specified $(Build.SourcesDirectory)). (Optional) Folder that contains the files you want to copy. # Copy files from a source folder to a target folder using patterns matching file paths (not folder paths)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |