Update AgentPlatform for job timeline record (#939)

* Update AgentPlatform for job timeline record

* removed unused using
This commit is contained in:
Lokesh Gopu
2021-01-25 11:14:28 -05:00
committed by GitHub
parent 9efcec38cc
commit 59b30262ac
2 changed files with 12 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ namespace GitHub.DistributedTask.WebApi
this.RefName = recordToBeCloned.RefName;
this.ErrorCount = recordToBeCloned.ErrorCount;
this.WarningCount = recordToBeCloned.WarningCount;
this.AgentPlatform = recordToBeCloned.AgentPlatform;
if (recordToBeCloned.Log != null)
{
@@ -254,6 +255,13 @@ namespace GitHub.DistributedTask.WebApi
set;
}
[DataMember(Order = 132, EmitDefaultValue = false)]
public string AgentPlatform
{
get;
set;
}
public IList<TimelineAttempt> PreviousAttempts
{
get