David,

TFS 2008 has a SetBuildProperties task
(http://msdn2.microsoft.com/en-us/library/bb399143.aspx) which you could use
to override the user specified value. You would have to override one of the
built-in targets to execute this task, I'm not sure what target would be
best but I'd try BeforeDropBuild which is the target that fires immediately
before the drop happens. For example you could add the following to your
TFSBuild.proj to enforce drop folders based on the TeamProject name and
BuildNumber:

<Target Name="BeforeDropBuild">
        <SetBuildProperties
            TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
            BuildUri="$(BuildUri)"
            DropLocation="\\server\share\$(TeamProject)\$(BuildNumber)" />
</Target>

Let us know how you go...

Regards,
William

-----Original Message-----
From: FEILEN,David [mailto:[EMAIL PROTECTED] 
Sent: Friday, 15 February 2008 3:16 PM
To: [email protected]
Subject: [OzTFS] Overriding queued DropLocation

Hi,

Is there any way of overriding the drop location provided when Team
Build 2008 build was queued? I have a large number of builds 
and a large team of developers to manage and I don't want them to be
dropped just anywhere.

Cheers,

David Feilen
Employment Systems Group 
Department of Education, Employment and Workplace Relations 
http://www.deewr.gov.au 
Ph. 6121 8393 
Ext. 68393 

Notice:
The information contained in this email message and any attached files
may be confidential information, and may also be the subject of legal
professional privilege. If you are not the intended recipient any use,
disclosure or copying of this email is unauthorised. If you received
this email in error, please notify the DEEWR Service Desk and delete all
copies of this transmission together with any attachments.



OzTFS.com - to unsubscribe from this list, send a message back to the list
with 'unsubscribe' as the subject. View the web archives at
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net




OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net


Reply via email to