예제 #1
0
		private BuildInstructions GetBuildInstructions(IServer server)
		{
			log.Log(LogSeverity.Information, "Getting build instructions");
			var instructions = server.GetBuildInstructions(Environment.MachineName);
			log.Log(LogSeverity.Information, $"Building session {instructions.Session}");
			var status = new ClientInformation(Environment.MachineName, instructions.Session, BuildStatus.InProgress,
				new TestResult[0]);
			server.UpdateClientStatus(status);
			return instructions;
		}