SonaParv_522 Posted September 22, 2016 Report Share Posted September 22, 2016 To local using ps scripts pls help me if anyone worked on this Quote Link to comment Share on other sites More sharing options...
compose Posted September 22, 2016 Report Share Posted September 22, 2016 Quote Link to comment Share on other sites More sharing options...
karna11 Posted September 22, 2016 Report Share Posted September 22, 2016 Right click da solution, thrn click da get latest option u 'll get all latext files in to u t locsl Quote Link to comment Share on other sites More sharing options...
bhaigan Posted September 22, 2016 Report Share Posted September 22, 2016 1 hour ago, SonaParv_522 said: To local using ps scripts pls help me if anyone worked on this Telisthe naku kuda cheppu i also need info regarding msbuild and powershell Quote Link to comment Share on other sites More sharing options...
SonaParv_522 Posted September 22, 2016 Author Report Share Posted September 22, 2016 12 minutes ago, karna11 said: Right click da solution, thrn click da get latest option u 'll get all latext files in to u t locsl Manual ga kaadu. Powershell scripts use chesi cheyyali Quote Link to comment Share on other sites More sharing options...
ALFANI Posted September 23, 2016 Report Share Posted September 23, 2016 # The deploy directory for all the msi, zip etc. $AutoDeployDir = "Your TFS Directory Server Path" $deployDirectory = $($Env:TF_BUILD_DROPLOCATION + "\Deploy\" + $Env:TF_BUILD_BUILDNUMBER) # Add TFS 2013 dlls so we can download some files Add-Type -AssemblyName 'Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Add-Type -AssemblyName 'Microsoft.TeamFoundation.VersionControl.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' $tfsCollectionUrl = 'http://YourServer:8080/tfs/YourCollection' $tfsCollection = New-Object -TypeName Microsoft.TeamFoundation.Client.TfsTeamProjectCollection -ArgumentList $tfsCollectionUrl $tfsVersionControl = $tfsCollection.GetService([Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer]) # Register PowerShell commands Add-PSSnapin Microsoft.TeamFoundation.PowerShell # Get all directories and files in the AutoDeploy directory $items = Get-TfsChildItem $AutoDeployDir -Recurse # Download each item to a specific destination foreach ($item in $items) { # Serverpath of the item Write-Host "TFS item to download:" $($item.ServerItem) -ForegroundColor Blue $destinationPath = $item.ServerItem.Replace($AutoDeployDir, $deployDirectory) Write-Host "Download to" $([IO.Path]::GetFullPath($destinationPath)) -ForegroundColor Blue if ($item.ItemType -eq "Folder") { New-Item $([IO.Path]::GetFullPath($destinationPath)) -ItemType Directory -Force } else { # Download the file (not folder) to destination directory $tfsVersionControl.DownloadFile($item.ServerItem, $([IO.Path]::GetFullPath($destinationPath))) } } Quote Link to comment Share on other sites More sharing options...
micxas Posted September 24, 2016 Report Share Posted September 24, 2016 tfs ante triole service desk eena Quote Link to comment Share on other sites More sharing options...
ceelogreen Posted September 24, 2016 Report Share Posted September 24, 2016 2 minutes ago, micxas said: tfs ante triole service desk eena team foundation server... MSFT shyiaat Quote Link to comment Share on other sites More sharing options...
micxas Posted September 24, 2016 Report Share Posted September 24, 2016 2 minutes ago, ceelogreen said: team foundation server... MSFT shyiaat Purpose, file sharing? Quote Link to comment Share on other sites More sharing options...
ceelogreen Posted September 24, 2016 Report Share Posted September 24, 2016 Just now, micxas said: Purpose, file sharing? source code management Quote Link to comment Share on other sites More sharing options...
Spartan Posted September 24, 2016 Report Share Posted September 24, 2016 Visual Studio vadite..auto sync aitad kada Team Explorer nunchi. What IDE are u using...TFS ante...i think u shud be using VS right. Quote Link to comment Share on other sites More sharing options...
micxas Posted September 24, 2016 Report Share Posted September 24, 2016 2 minutes ago, ceelogreen said: source code management ah okay Quote Link to comment Share on other sites More sharing options...
SonaParv_522 Posted September 28, 2016 Author Report Share Posted September 28, 2016 On 9/23/2016 at 10:28 PM, Spartan said: Visual Studio vadite..auto sync aitad kada Team Explorer nunchi. What IDE are u using...TFS ante...i think u shud be using VS right. actually the requirement is within the application. actual requirement is, once developers checkin the code into tfs, manually they deploy the code into continues integration server and from there to dev, qa, etc. ippudu after checkin from developer into tfs, we have to update those checkins in the intermediate server by using powershell scripts. from there we are deploying it into other servers. ya we are using VS 11.0. Quote Link to comment Share on other sites More sharing options...
SonaParv_522 Posted September 28, 2016 Author Report Share Posted September 28, 2016 problem enti ante, tfs nundi vere sserver loki copy chesukovali updated files. akkada nundi ee auto deployment process start chesukovali. Quote Link to comment Share on other sites More sharing options...
alpachinao Posted September 28, 2016 Report Share Posted September 28, 2016 3 minutes ago, SonaParv_522 said: actually the requirement is within the application. actual requirement is, once developers checkin the code into tfs, manually they deploy the code into continues integration server and from there to dev, qa, etc. ippudu after checkin from developer into tfs, we have to update those checkins in the intermediate server by using powershell scripts. from there we are deploying it into other servers. ya we are using VS 11.0. Auto build scripts vuntai kada uncle may be use jenkins build tool for automation Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.