Summary
Create detail timeline record.
Syntax
public Guid CreateNewRecord(string name, string type, int order, AzurePipelinesRecordData data)
Examples
if (BuildSystem.AzurePipelines.IsRunningOnAzurePipelines)
{
var recordId = BuildSystem.AzurePipelines.Commands.CreateNewRecord(
"Compile",
"build",
1,
new AzurePipelinesRecordData { Progress = 0 });
}
Parameters
| Name |
Type |
Description |
| name |
string |
Name of the new timeline record. |
| type |
string |
Type of the new timeline record. |
| order |
int |
Order of the timeline record. |
| data |
AzurePipelinesRecordData |
Additional data for the new timeline record. |
Return Value
| Type |
Description |
| Guid |
The timeline record ID. |