Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot abandon a release on TFS2017 as one or more of the environments are in-progress

I want to abandon a release that is running multiple environments at the same time, but with every try on the Abandon option I am getting this error

Cannot abandon release 'Release-#' as one or more of the environments are in-progress.

enter image description here

like image 602
Zinov Avatar asked Apr 04 '17 19:04

Zinov


1 Answers

Each environment changes it own status after the release creation and you have to go and cancel it mannually. In order to abandon the release, each one needs to be canceled. enter image description here

Then you can try to abandon the release.

Now trying to restart the agents on the server is the final step that we can try, there is another workaround, must of the time those agents have a process running on the server that is consuming the CPU's time, see which is the task that is running and kill it, automatically you will see how the steps on the release start failing, but you should try to avoid this way. Now there is something that I want to add on the later. You can see after you kill a task that the agent can be in an inconsistent state, go to the services and see VSTS Agent service that runs the task, if it is not running, feel free to start it again.

enter image description here

like image 167
Zinov Avatar answered Sep 23 '22 06:09

Zinov