TFSBuild Labels

S

sl

Hi,

I am a newbie to MSBuild/TFSBuild.

I am having a Team Foundation Server. I am trying to write a custom
script along with it.

There are 2 scripts. In first one i want to label the sources in TFS.
In second one, i want to build the Solution (Without further
labelling).

By Default TFSBuild uses a sequence of calls like CoreClean,
CoreLabel, CoreBuild, CoreDropBuild etc.

In my first script, i have customised CoreBuid so that it is not able
to build the solution.

In my second script, i am setting the predefined property
Skiplabel=true. So, it is building the latest solution from TFS.

Now my queries are:
1. Can i give some custom label in form of Date.Time instead of
TFS_Date.IterationNumber.
2. Can i somehow pass a label as argument to the second script (used
fo building). This is to take care of care when i want to build some
earlier version from TFS (Not the latest one).

Also is there a way that i can restrict access to one of these scripts
to 2-3 people (while first one can be run by anyone).

Please help.

Thanks.

Regards,
Shreshth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,182
Latest member
BettinaPol

Latest Threads

Top