Build triggering filters
Hi,
I am trying make our build triggering a bit more precise. I would like to filter out some portions of the Perforce depot.
I am not entirely clear on the usage of wildcards. For example, say the depot was setup like this:
//depot/applications/app1/main/src/
//depot/applications/app1/main/lib/
//depot/applications/app2/main/src/
//depot/applications/app2/main/lib/
//depot/applications/testapp1/main/src/
//depot/applications/testapp1/main/lib/
//depot/applications/testapp2/main/src/
//depot/applications/testapp2/main/lib/
//depot/applications/app1/dev/src/
//depot/applications/app1/dev/lib/
//depot/applications/app2/dev/src/
//depot/applications/app2/dev/lib/
//depot/applications/testapp1/dev/src/
//depot/applications/testapp1/dev/lib/
//depot/applications/testapp2/dev/src/
//depot/applications/testapp2/dev/lib/
//depot/docs/app1/main/
//depot/docs/app1/dev/
Would this filter cause builds to be triggered only when
there are change to testapp applications in main?:
//depot2/applications/app//
//depot2/applications/testapp/dev/
//depot2/docs/*/
Thanks,
-Dave
Please sign in to leave a comment.
Hi Dave,
Sorry for such a long delay.
Yes, vcs filter works as you guessed.
Just to clarify, in implementation all asterixes in patterns to ignore are
replaced with ".*" and then filter checks if this pattern matches file name.
--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Dave Leskovac" <no_reply@jetbrains.com> wrote in message
news:6751212.1168448937547.JavaMail.itn@is.intellij.net...
>
>
>
Okay. Thanks, Olesya.