Repository navigation
Expose NoFetch to fix #646 - #653
Conversation
|
Confirmed this works on VSO if I then set GitVersion_NoFetchEnabled to true in the build parameters |
Expose NoFetch to fix #646
|
Do you think the targets should detect if they're running on an agent that requires nofetch (like VSO) and set the default value to true? Then it'd "just work" for more people but it does put extra logic in the targets. |
|
No the targets, the targets is like command line switches. I forget where I wrote this, but my plan was to add |
|
It is a better idea to have a the IBuildServer tell you if it needs fetching. If it's set there and used anywhere the NoFetch parameter currently is as a default if NoFetch isn't explicitly set, then that's a better solution. I was just thinking that people shouldn't have to specifically override things on the happy path :) |
No description provided.