0

The 'Visual Studio Test' task has an option named 'Upload test attachments', regardless of if this option is on or off for a release it is always uploading test attachments.

This is now occurring on two specific build agents in my agent pool and it is a change of behavior from around the end of last week.

There is no known change in release definition.

I have tried creating a new release definition and new and old release definitions exhibit this behavior.

In the past the only way we have stopped this undesired behavior is to recreate the build agents.

jamesthetester
  • 153
  • 2
  • 12

1 Answers1

0

The hosted agent now has a set of Watcher plugins, these are enabled by default now. The watcher looks for specific tasks in the workflow and auto-enables.

Looking at the code, it will auto-disable when you add a Publish Test Results Task, even if it has a condition that causes it not to run.

Any chance the Agent Version has updated itself?

jessehouwing
  • 106,458
  • 22
  • 256
  • 341
  • Agent.Version is currently 2.155.1 which was released 15 days ago, we haven't updated since that version at the end of July, the change of behavior I am describing is in the last 4 days – jamesthetester Aug 12 '19 at 16:25
  • What version of the task is in the agents tasks folder? – jessehouwing Aug 12 '19 at 16:28
  • What task version is configured in the pipeline. – jessehouwing Aug 12 '19 at 16:44
  • Configured in the pipeline : 2.155.4 On the agent in the tasks folder : 2.155.4 I can see 2 releases of the same definition, one with the desired behavior, one without the desired behavior, in both cases the version of the task configured in the pipeline is 2.155.4 – jamesthetester Aug 13 '19 at 06:47