Comments (1)
Unfortunately, that would defeat the purpose of this plugin, and the thing that makes it distinct from the built in git material of GoCD.
I you want the behaviour you describe, you may be better to use the built-in Git material, with allowlists/denylists. The built in material performs in basically the way you are describing (if it triggers whether automatic|manual, it always checks out latest revision for the entire repo - including paths that are not strictly relevant from allowlist/denylist).
The downside of the way the built-in Git material behaves are described in the intro but include that
- it often blocks fan-in, because the "revisions" it triggers with are sometimes for revisions unrelated to the monitored subpaths and can lead to inconsistent "material revisions" and "triggered builds". If you are not relying on fan-in, this may not be a problem for you.
- the changelog/modifications include unrelated changes
Your choices are basically
- add all relevant paths for indirect dependencies to the expression in the git path material
- switch to the built-in Git material where allow lists/deny lists are not considered in the material revision and are only considered for "should I trigger a run?"
The key thing to understand is that for GoCD, upstream revisions and triggering of upstream builds are critical for considering whether a fan-in trigger can happen for a downstream pipeline. The key difference with this plugin is that it directly ensures that material revisions GoCD is aware of are always consistent with triggering conditions, since the filtering is done at the git level, and the filtered paths are used to evaluate whether two materials are logically distinct.
from gocd-git-path-material-plugin.
Related Issues (20)
- Probably not properly used git resource HOT 7
- Unable to create the pipeline using gitpath plugin git material name HOT 1
- Support for multiple paths?
- TFS Git support HOT 2
- Does not support git ssh HOT 2
- Update README.md with screenshots of GoCD latest version HOT 4
- 'Unable to de-serialize...' error when using the git path material plugin HOT 2
- Add support for shallow clones
- Add support for `--no-checkout` on server-side clones
- Improve error reporting to server when git cmd-line errors occur on agents
- Support for webhooks triggers of pipeline HOT 8
- Support for secrets plugin interpolation of git passwords HOT 10
- Support pipeline parameters in material definitions HOT 1
- Support for ignore list / blacklist HOT 10
- Ignore commit based on commit message
- to and from revision for material HOT 2
- Trigger SnapCI build for pull requests
- JGit runs in debug mode HOT 5
- Add suport for pull request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocd-git-path-material-plugin.