Commit Graph

17 Commits

Author SHA1 Message Date
Wes Hunt
35c5bceffd Add node name to DoBuild telemetry
[CL 2607532 by Wes Hunt in Main branch]
2015-07-01 11:17:12 -04:00
Ben Marsh
2db0e0aaca Move branch validation stuff into LegacyBranchSetup.
[CL 2606600 by Ben Marsh in Main branch]
2015-06-30 18:13:53 -04:00
Ben Marsh
b21f02450f Move the CIS counter update into its own function.
[CL 2606473 by Ben Marsh in Main branch]
2015-06-30 17:09:44 -04:00
Ben Marsh
8558439134 Refactor out a few functions from GUBP.DoBuild().
[CL 2606420 by Ben Marsh in Main branch]
2015-06-30 16:48:53 -04:00
Ben Marsh
b78f246a95 Separate code to execute nodes into its own function.
[CL 2606412 by Ben Marsh in Main branch]
2015-06-30 16:42:36 -04:00
Ben Marsh
0f0cdfe572 Change completed node cache into a local variable.
[CL 2606295 by Ben Marsh in Main branch]
2015-06-30 15:28:26 -04:00
Ben Marsh
6b165148d6 Convert GUBPNodesControllingTrigger to local variables.
[CL 2606252 by Ben Marsh in Main branch]
2015-06-30 15:04:24 -04:00
Ben Marsh
4950400d38 Change GUBPNodesHistory into a local variable.
[CL 2606241 by Ben Marsh in Main branch]
2015-06-30 14:54:02 -04:00
Ben Marsh
23c64bcab3 Remove ECProject; not referenced by anything.
[CL 2606228 by Ben Marsh in Main branch]
2015-06-30 14:50:58 -04:00
Wes Hunt
506f7e64a4 UEB-260 - Break AutomationTool into AutomationUtils that all automation projects depend on, and AutomationTool, which essentially only contains the startup code.
* Remove ErrorReporter.Error, replace with AutomationException with Error Code.
* Move ErrorCodes to AutomationException.
* Don't return exit codes. Solely rely on exceptions to propagate exit codes.
* Remove MainProc delegate
* Remove setting of Environment.ExitCode as it is ignored when main returns an int.
* ShutdownLogging is nothrow, as all exceptions would be ignored anyway.
* Wrap all shutdown steps so further ones get a chance to run.
* Move HostPlatform.Initialize into the global try/catch block
#codereview:ben.marsh

[CL 2605826 by Wes Hunt in Main branch]
2015-06-30 11:40:05 -04:00
Ben Marsh
9a1c7b3aa8 Separate out branch setup and build nodes for GUBP into separate files.
[CL 2599531 by Ben Marsh in Main branch]
2015-06-24 16:40:43 -04:00
Ben Marsh
4fe0cd1e40 Rename GUBP.Automation.cs to GUBP.cs
[CL 2597711 by Ben Marsh in Main branch]
2015-06-23 15:49:30 -04:00
Ben Marsh
d4307d5c6e Move TempStorage into the GUBP project.
[CL 2597696 by Ben Marsh in Main branch]
2015-06-23 15:40:30 -04:00
Ben Marsh
da46bb2941 Separate temp storage into its own class, rather than being part of CommandUtils.
[CL 2597682 by Ben Marsh in Main branch]
2015-06-23 15:31:37 -04:00
Ben Marsh
c7fd95d3c1 Disable XGE for non-unity compiles.
[CL 2597386 by Ben Marsh in Main branch]
2015-06-23 13:05:31 -04:00
Wes Hunt
d59dc5f185 BUGFIX: BranchHacker Exclusions remove Tool nodes, but don't remove NonUnityTool nodes.
* Before, if you, say, remove "EpicGamesLauncher" it will remove the default launcher nodes, but will still add the NonUnityTool nodes (GUBP.Automation.cs Line 5617 and 5641).
* This would cause the GUBP verification checks to fail because the NonUnity nodes for the launcher depend on the unity nodes. The idea is to Exclude ALL of that program's nodes from the graph, otherwise there's no way to exclude NonUnity nodes at all!
* Now we check the branch hacker before removing both the Tools node and the NonUnityTool node.

[CL 2597034 by Wes Hunt in Main branch]
2015-06-23 10:13:58 -04:00
Ben Marsh
c1d7e92a22 Move GUBP into its own project.
[CL 2593354 by Ben Marsh in Main branch]
2015-06-19 09:12:47 -04:00