Exclude changes outside view mask
This filter prevents a build from being triggered unless at least one file in a changelist is included within the defined view mask. It’s useful for narrowing build triggers to specific areas of the depot that are relevant to your project.
-
If none of the files in a changelist fall within the view mask, the build is not triggered.
-
If any file is within the view mask, the build is triggered.
Below is an example of a view mask.
//depot/main/tests -//depot/main/tests/001
Example scenarios
The following examples would trigger a build
Triggers a build because index.xml is included in the view mask:
//depot/main/tests/index.xml //depot/main/tests/001/test.xml
Triggers a build because index.xml is included in the view mask:
//depot/main/tests/index.xml //depot/main/src/build.xml
The following examples do not trigger a build.
Does not trigger a build beacuse build.xml is outside the view mask:
//depot/main/src/build.xml
Does not trigger a build beacuse all files are excluded by the view mask:
//depot/main/src/build.xml //depot/main/tests/001/test.xml