![]() ![]() transfer to the agent using some robust copy command that you probably have alreadyĮven though you would use two commands, time spent in fstat is insignificant compared to the sync. NumberedDepotPath = fstat numberedDepotPath // this prints all kind of info about file status, you can use -G if you need get the depot path like //depot/folder1/. Num = whateverWayTeamCityGetsTheChangelistNumber() In server mode, you can run "p4 fstat" on the whole changelist for each line of the client spec, followed by "p4 sync" and then a robust copy to the agent. I understand the N+1 concern, but I am not suggesting going through each file manually. It seems advantageous to do that if the patches are large (true for some of our builds). We are using server mode and have not yet tried the agent mode, the reason being trying to have the server build the patch once and distribute it to the agents. I did not realized that the process is different between server and agent modes. : Average transfer speed: 21.62Mb per second : Repository sources transferred: 10118.72Mb total : Transferring repository sources: 8033.82Mb so far. : Transferring repository sources: 5019.35Mb so far. : Transferring repository sources: 2224.62Mb so far. : Transferring cached clean patch for VCS root: Head Olymp Main Track VCS (shared) : Building clean patch for VCS root: Head Olymp Main Track VCS (shared) : "Clean all files before build" turned on : Checkout directory is empty or doesn't exist : Updating sources: server side checkout. : Checkout directory: C:\BuildAgent\work\5168613ae2f11b5e : Clean build enabled: removing old files from C:\BuildAgent\work\5168613ae2f11b5e : Average transfer speed: 11.66Mb per second : Repository sources transferred: 4965.40Mb total : Transferring repository sources: 4097.99Mb so far. : Transferring repository sources: 2643.21Mb so far. ![]() : Transferring repository sources: 1300.57Mb so far. : Transferring cached clean patch for VCS root: LAS Reason: Checkout directory is empty or doesn't exist : Checkout directory: C:\BuildAgent\work\144b4c7f8ebd1677 : Clearing temporary directory: C:\BuildAgent\temp\buildTmp ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |