microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
131 stars 56 forks source link

Step with "Continue on Error" does not end if step fails #311

Closed kanoutaisuke closed 8 years ago

kanoutaisuke commented 8 years ago

Hi, i found 2 issues around this same problem, and the other 2 seem to be slightly different. In my build, I have continue on error checked for my run tests step, yet it doesnt continue. It just continuously runs that same step over and over, never moving on to my publish test results step. Anyone else come across this issue before?

bryanmacfarlane commented 8 years ago

This is fixed in the replacement agent. This agent never got that feature: https://github.com/Microsoft/vsts-agent

kanoutaisuke commented 8 years ago

Let me rephrase this a little, It runs the step over and over until it hits the 1 hour timeout and then fails the entire build. I can remote in and see it running the tests, but it hangs up on most and fails them all. It consistently says 0 passed in the log, even though I viewed 1 that passed for sure. On top of that, even if it hits the 1 hour limit currently set, should the publish results step still go off since it's set to always run? Also, running the current version of agents and controller available on the remote machine.

ericsciple commented 8 years ago

@kanoutaisuke This agent is deprecated. Can you try the new agent: https://github.com/Microsoft/vsts-agent

kanoutaisuke commented 8 years ago

I understand this one is deprecated, accidentally posted this in this one as this was where I saw the similar questions. I'm not using the deprecated agent to begin with.