Helix Plugin for Jenkins Guide (1.11.x)

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.

Exclude Changes Outside View Mask

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:
  • //depot/main/tests/index.xml

    //depot/main/tests/001/test.xml

  • The change below triggers a build because index.xml is in the view mask:
  • //depot/main/tests/index.xml

    //depot/main/src/build.xml

  • The change below does not trigger a build because build.xml is not in the view mask:
  • //depot/main/src/build.xml

  • The change below does not trigger a build because the files are not in the view mask:
  • //depot/main/src/build.xml

    //depot/main/tests/001/test.xml