History

1) Updated BuildNightly.bat script to match the BuildBetaNoHelp.bat script. 2) In MasterBuild.buildproj, restored the call to the CheckForChanges target in CorePopulateWorkspace.

gsfbuildbot committed 11 years ago

Commit 7feebcb1 parent 37fdf743 files · +25 −19Browse files

Showing the changes to Build/Scripts/MasterBuild.buildproj (1 of 3 files). Show all

Unified · Split

Build/Scripts/MasterBuild.buildproj+10−4
@@ -336,7 +336,6 @@ · 335 unmodified lines
336336 <!-- Create a temporary workspace for the build. -->
337337 <Message Text="Creating temporary workspace..."/>
338338
339−
340339 <PropertyGroup>
341340 <Workspace Condition="'$(Workspace)' == ''">$(COMPUTERNAME)_$(ProjectName)</Workspace>
342341 </PropertyGroup>
@@ -355,10 +354,16 @@ · 12 unmodified lines
355354 <Target Name="BeforePopulateWorkspace"/>
356355
357356 <Target Name="CorePopulateWorkspace">
357+ <!-- Get version file for the most recent version. -->
358+ <Message Condition="'$(ForceBuild)' != 'true'" Text="Checking for changes to project since last build..."/>
359+ <Exec Condition="'$(ForceBuild)' != 'true' And '$(TfsUserName)' == ''" Command="%22$(TfsClient)%22 get %22$(VersionFile)%22 /force /recursive /noprompt"/>
360+ <Exec Condition="'$(ForceBuild)' != 'true' And '$(TfsUserName)' != ''" Command="%22$(TfsClient)%22 get %22$(VersionFile)%22 /force /recursive /noprompt /login:$(TfsUserName),$(TfsPassword)"/>
361+ <CallTarget Targets="CheckForChanges"/>
362+
358363 <!-- Get source code for the specified version. -->
359− <Message Text="Getting source code..."/>
360− <Exec Condition="'$(TfsUserName)' == ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt"/>
361− <Exec Condition="'$(TfsUserName)' != ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt /login:$(TfsUserName),$(TfsPassword)"/>
364+ <Message Condition="'$(ForceBuild)' == 'true'" Text="Getting source code..."/>
365+ <Exec Condition="'$(ForceBuild)' == 'true' And '$(TfsUserName)' == ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt"/>
366+ <Exec Condition="'$(ForceBuild)' == 'true' And '$(TfsUserName)' != ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt /login:$(TfsUserName),$(TfsPassword)"/>
362367 </Target>
363368
364369 <Target Name="CheckForChanges" Condition="'$(ForceBuild)' != 'true'">
@@ -372,6 +377,7 @@ · 7 unmodified lines
372377 </TfsHistory>
373378 <PropertyGroup>
374379 <ForceBuild Condition="'$(TotalChanges)' == '-1' Or '$(TotalChanges)' &gt; '1'">true</ForceBuild>
380+ <SkipVersioning Condition="'$(ForceBuild)' != 'true'">true</SkipVersioning>
375381 </PropertyGroup>
376382 <Message Text="Build is skipped - No new changes." Condition="'$(ForceBuild)' != 'true'"/>
377383 </Target>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t