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:

  1. On the top navigation bar, select a space from the spaces list.
  2. On the Products page, open a product or Git repository.
  3. On the sidebar, select Chains.

  4. Open a chain from the chain list and click Edit.

  5. In the Steps tab, click Fetch sources.

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

  7. Click Save.

Back to top

See also: