aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2025-08-17 18:58:07 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2025-08-17 18:58:07 +0300
commitd150ca010285dc76add9d9f5606dd6d150a610c5 (patch)
tree9a64829f08eae4495bdc97bb60bd2bf988699971 /Software/Visual_Studio/PPC
parent5282624fc0f2ba7b5191219a0e941c9b53d1843b (diff)
downloadTango-d150ca010285dc76add9d9f5606dd6d150a610c5.tar.gz
Tango-d150ca010285dc76add9d9f5606dd6d150a610c5.zip
X1 TFS Machine Type & Area.
Diffstat (limited to 'Software/Visual_Studio/PPC')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs
index c9e39b02b..e564b33fc 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs
@@ -85,7 +85,7 @@ namespace Tango.PPC.BugReporting.TFS
{
item.Title = title;
- item.Area = _buildProvider.IsEureka ? Project.GetAreaByName("Twine X4") : Project.GetAreaByName("PPC");
+ item.Area = Project.GetAreaByName(_buildProvider.MachineType.ToTFSAreaName());
item.Iteration = Project.Iterations.FirstOrDefault();
item.CreatedBy = createdBy;
@@ -102,7 +102,7 @@ namespace Tango.PPC.BugReporting.TFS
item.Type = WorkItemType.Bug;
item.Environment = SettingsManager.Default.GetOrCreate<PPCSettings>().DeploymentSlot.ToDescription();
- item.MachineType = (MachineType)_buildProvider.BuildType;
+ item.MachineType = (MachineType)_buildProvider.MachineType;
FileLogger appFileLogger = LogManager.Default.RegisteredLoggers.FirstOrDefault(x => x.GetType() == typeof(FileLogger)) as FileLogger;
FileLogger embeddedFileLogger = MachineOperator.EmbeddedLogManager.RegisteredLoggers.FirstOrDefault(x => x.GetType() == typeof(FileLogger)) as FileLogger;