We need to restrict our pipeline steps to only run when commits contain changes in our "client/**/*" filepath glob.
Concourse.ci, Drone.ci, and I assume other CI servers provide the option to restrict steps to commits only containing certain file paths.
Are we limited to manually grepping "git log" and emitting an `exit 1` ?
Ideally I'd want something like:
...
- step:
image: node:alpine-8
script:
- npm install
- npm run prod
filter:
includes: client/src/**/*
...
So that commits containing:
- server/**/* and client/**/* would run the above step
- server/**/* would not run the above step
- client/**/* would run the above step
https://bitbucket.org/site/master/issues/16560/trigger-pipeline-only-if-certain-files-are
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.