Exclude changes outside view mask
Changes can be filtered to not trigger a build if none of the files within a change are contained in the view mask.
- If none of the files in a change are contained in the view mask, a build is not triggered.
- If any of the files in a change are contained in the view mask, a build is triggered.
For example, with a view mask filter of:
//depot/main/tests
-//depot/main/tests/001
- The change below triggers a build because index.xml is in the view mask:
- The change below triggers a build because index.xml is in the view mask:
- The change below does not trigger a build because build.xml is not in the view mask:
- The change below does not trigger a build because the files are not in the view mask:
//depot/main/tests/index.xml
//depot/main/tests/001/test.xml
//depot/main/tests/index.xml
//depot/main/src/build.xml
//depot/main/src/build.xml
//depot/main/src/build.xml
//depot/main/tests/001/test.xml