diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-22 17:36:17 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-05-22 17:36:17 +0300 |
| commit | 0a5b831276eb49c5f20b636f355f4495e4b74640 (patch) | |
| tree | 9006ca8ba03f48659531b50b4cc13854190b74c4 /Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting | |
| parent | 30c4229b4b8cc3d515e50292c70c23dc847e441b (diff) | |
| download | Tango-0a5b831276eb49c5f20b636f355f4495e4b74640.tar.gz Tango-0a5b831276eb49c5f20b636f355f4495e4b74640.zip | |
Environment field to all bug reports.
disable console when !PPCAvailable
Retry after failed to retrieve environments from gateway.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs | 3 |
1 files changed, 3 insertions, 0 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 8a597ef61..b84d11c37 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 @@ -13,6 +13,8 @@ using Tango.PPC.Common.Connection; using Tango.TFS; using Tango.Core.ExtensionMethods; using Tango.Core.Helpers; +using Tango.Settings; +using Tango.PPC.Common; namespace Tango.PPC.BugReporting.TFS { @@ -95,6 +97,7 @@ namespace Tango.PPC.BugReporting.TFS item.Severity = severity; item.State = State.New; item.Type = WorkItemType.Bug; + item.Environment = SettingsManager.Default.GetOrCreate<PPCSettings>().DeploymentSlot.ToDescription(); 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; |
