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
336 <!-- Create a temporary workspace for the build. -->336 <!-- Create a temporary workspace for the build. -->
337 <Message Text="Creating temporary workspace..."/>337 <Message Text="Creating temporary workspace..."/>
338 338
339
340 <PropertyGroup>339 <PropertyGroup>
341 <Workspace Condition="'$(Workspace)' == ''">$(COMPUTERNAME)_$(ProjectName)</Workspace>340 <Workspace Condition="'$(Workspace)' == ''">$(COMPUTERNAME)_$(ProjectName)</Workspace>
342 </PropertyGroup>341 </PropertyGroup>
@@ -355,10 +354,16 @@ · 12 unmodified lines
355 <Target Name="BeforePopulateWorkspace"/>354 <Target Name="BeforePopulateWorkspace"/>
356 355
357 <Target Name="CorePopulateWorkspace">356 <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
358 <!-- Get source code for the specified version. -->363 <!-- Get source code for the specified version. -->
359 <Message Text="Getting source code..."/>364 <Message Condition="'$(ForceBuild)' == 'true'" Text="Getting source code..."/>
360 <Exec Condition="'$(TfsUserName)' == ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt"/>365 <Exec Condition="'$(ForceBuild)' == 'true' And '$(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)"/>366 <Exec Condition="'$(ForceBuild)' == 'true' And '$(TfsUserName)' != ''" Command="%22$(TfsClient)%22 get %22$(LocalFolder)%22 /version:$(SourceVersion) /force /recursive /noprompt /login:$(TfsUserName),$(TfsPassword)"/>
362 </Target>367 </Target>
363 368
364 <Target Name="CheckForChanges" Condition="'$(ForceBuild)' != 'true'">369 <Target Name="CheckForChanges" Condition="'$(ForceBuild)' != 'true'">
@@ -372,6 +377,7 @@ · 7 unmodified lines
372 </TfsHistory>377 </TfsHistory>
373 <PropertyGroup>378 <PropertyGroup>
374 <ForceBuild Condition="'$(TotalChanges)' == '-1' Or '$(TotalChanges)' &gt; '1'">true</ForceBuild>379 <ForceBuild Condition="'$(TotalChanges)' == '-1' Or '$(TotalChanges)' &gt; '1'">true</ForceBuild>
380 <SkipVersioning Condition="'$(ForceBuild)' != 'true'">true</SkipVersioning>
375 </PropertyGroup>381 </PropertyGroup>
376 <Message Text="Build is skipped - No new changes." Condition="'$(ForceBuild)' != 'true'"/>382 <Message Text="Build is skipped - No new changes." Condition="'$(ForceBuild)' != 'true'"/>
377 </Target>383 </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