Skip to content

Record pipelineReference in spawned TestRuns#7209

Merged
ChadNedzlek merged 2 commits intodotnet:mainfrom
ChadNedzlek:record-pipeline-reference-information
Apr 9, 2021
Merged

Record pipelineReference in spawned TestRuns#7209
ChadNedzlek merged 2 commits intodotnet:mainfrom
ChadNedzlek:record-pipeline-reference-information

Conversation

@ChadNedzlek
Copy link
Contributor

In order to do better correlation in analysis, we need the ability to correlate
tests to which parts of the build they came form. The build in reporting sets these
but the helix reporter does not, so record them

@ChadNedzlek ChadNedzlek force-pushed the record-pipeline-reference-information branch from 07c56db to 61b4cc2 Compare April 8, 2021 22:30
[Required]
public string TestRunName { get; set; }

public string JobName { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this all get populated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are parameters on the task. I didn't set them because I defaulted them all to the environment values. When we do the weird "start a run in some other job", we'll need to set these to make them "line up". But for now they are always the same, so it's ok to read the environment variables.

Copy link
Contributor Author

@ChadNedzlek ChadNedzlek Apr 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexperovich might have an opinion about this (BuildId, from the base class, reads the environment, so I figured it was ok)

@ChadNedzlek ChadNedzlek merged commit e7ede87 into dotnet:main Apr 9, 2021
akoeplinger pushed a commit to akoeplinger/arcade that referenced this pull request Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants