microsoft / vso-agent

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

VSTS Release Definition timeout value on Options tab #331

Closed ansariwn closed 4 years ago

ansariwn commented 6 years ago

Hi, I have a long running task in VSTS release definition running under on-prem VSTS agent. The task stops after 60 minutes. I have tried updating the timeout value on the task and I have also updated the timeout value on the Agent phase but the task still stops after 60 mins.

The Microsoft documentation states that the timeout value for all phases can be set on the Options tab in the release definition. However, the options tab in the release definition does not contain any such value. Can anyone please help?

As a work around, I exported the release definition into a json file and updated the 'timeoutInMinutes' value under 'EnvironmentOptions'. However, upon importing the release definition this value is reset to '0' and my task still stops after 60 minutes.