I have a monorepo which has roughly that structure:
- package.json (and other files in the root)
- /scripts
- /common
- /applications/app1/...
- /applications/app2/...
- /applications/...
I only want the build to run when something is changed in the root files, /scripts, /common or /applications/app1. Since new applications could be added and I want to avoid to have to update this build config again, I do not want to explicitly exclude all other applications like -applications/app2/**,--applications/app3/**,etc.
. I rather want to exclude the whole /applications folder except the /applications/app1 folder.
I tried writing it like this: -applications/**,+applications/search/**
(similarly to .gitignore or .dockerignore files where this would work), but that seems not to work in QuickBuild, the build just does not get triggered.
Any ideas how I could achieve that? Is it possible at all with Include/Exclude Path Patterns? Or maybe rather with a custom groovy script?