I have custom component (in tfs build workflow script) that requires tfs access (and for that reason requires tfs project uri, eg. https://tfsstuf.insomewhere.fi:8080/tfs/). Is that uri available in any of tfs build workflow properties? I have tried look through BuildAgent properties etc. but no luck so far.
Another possible solution is that there is project collection object available somewhere, because custom component creates it from that uri.
Reason for this is that i don’t want hardcode that uri deep inside of build script, because it may change.
Here’s how:
Read more here: TFS 2010 TfsUrl location