-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users/shreyas r msft/hydra single agent rerun flow #7420
Users/shreyas r msft/hydra single agent rerun flow #7420
Conversation
inputDataContract.AgentName = tl.getVariable('Agent.MachineName') + '-' + tl.getVariable('Agent.Name') + '-' + tl.getVariable('Agent.Id'); | ||
inputDataContract.RunIdentifier = getRunIdentifier(); | ||
|
||
logWarningForWER(tl.getBoolInput('uiTests')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to telemetry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Tasks/VsTestV2/inputparser.ts
Outdated
@@ -135,6 +160,8 @@ function getTestReportingSettings(inputDataContract : idc.InputDataContract) : i | |||
inputDataContract.TestReportingSettings.TestRunTitle = `TestRun_${definitionName}_${buildOrReleaseName}`; | |||
} | |||
|
|||
//inputDataContract.TestReportingSettings.TestResultDirectory = read from xml here? or in C# layer? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
utils.Helper.addToProcessEnvVars(envVars, 'DTA.AccessToken', tl.getEndpointAuthorization('SystemVssConnection', true).parameters.AccessToken); | ||
|
||
// hydra: See which of these are required in C# layer. Do we want this for telemetry?? | ||
// utils.Helper.addToProcessEnvVars(envVars, 'DTA.AgentVersion', tl.getVariable('AGENT.VERSION')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a task to fire telemetry from single agent flow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Tasks/VsTestV2/nondistributedtest.ts
Outdated
return tl.findMatch(inputDataContract.TestSelectionSettings.SearchFolder, sourceFilter); | ||
} | ||
|
||
function isTestAdapterPresent(rootDirectory: string): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this,
Tasks/VsTestV2/nondistributedtest.ts
Outdated
return false; | ||
} | ||
|
||
function isEmptyResponseFile(responseFile: string): boolean { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
…//github.com/Microsoft/vsts-tasks into users/ShreyasRMsft/hydraSingleAgentRerunFlow
No description provided.