Wildcards
TeamCity supports wildcards in different configuration options. Ant-like wildcards are:
Wildcard | Description |
---|---|
| matches any text in the file or directory name excluding directory separator ("/" or "\") |
| matches single symbol in the file or directory name excluding directory separator |
| matches any symbols including the directory separator |
You can read more on Ant wildcards in the corresponding section of Ant documentation.
Examples For a directory structure:
\a -\b -\c -file1.txt -file2.txt -file3.log -\d -file4.log -file5.log
Description | Pattern | Matching files |
---|---|---|
all the files | ** |
|
all log files | **/*.log |
|
all files in a/b directory incl. those in subfolders | a/b/** |
|
files directly in a/b directory | a/b/* |
|