Fetch content to analyze
When a chain runs, you can specify the stream/branch content to fetch to the work area and analyze.
By default, the entire contents are fetched, which may be a slow operation depending on the size of the stream/branch.
To fetch stream/branch content:
- On the top navigation bar, select a space from the spaces list.
- On the Products page, open a product or Git repository.
On the sidebar, select Chains.
Open a chain from the chain list and click Edit.
In the Steps tab, click Fetch sources.
Specify the following options:
Option Description Clean workspace before fetching sources Select to clean the local work area before fetching content. Fetch content from repository
By default, the entire stream/branch contents are analyzed (the option is selected, and the content box is empty).
To analyze part of the stream/branch, in the content box, specify Ant patterns that match specific paths. Enter one Ant pattern per line.
To fetch no content, clear this option.