带有 OctoDeploy 的 TFS:部署 Octopus 已退出,代码为 - -1
TFS with OctoDeploy: deployment Octopus Exited with code - -1
我在 TFS 中出现间歇性构建失败
你如何解决Octopus Exited with code - 1
Exception Message: Octopus Exited with code - -1 (type Exception)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
解决方法
唯一的解决方法是再次监控构建并触发部署,问题就会消失。
到目前为止我没有其他解决方案
我找到的常见答案
感谢您的联系!我们很少得到幽灵进程。
要在你的触手上重置它们,请执行以下操作:
> cd \Program Files\Octopus Deploy\Tentacle
>
> tentacle.exe service --stop tentacle.exe reset-activities tentacle.exe
> service --start
然而,这不是一个很好的解决方案,据我所知并没有消除原因。
我在 TFS 中出现间歇性构建失败
你如何解决Octopus Exited with code - 1
Exception Message: Octopus Exited with code - -1 (type Exception)
Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
解决方法
唯一的解决方法是再次监控构建并触发部署,问题就会消失。
到目前为止我没有其他解决方案
我找到的常见答案
感谢您的联系!我们很少得到幽灵进程。 要在你的触手上重置它们,请执行以下操作:
> cd \Program Files\Octopus Deploy\Tentacle
>
> tentacle.exe service --stop tentacle.exe reset-activities tentacle.exe
> service --start
然而,这不是一个很好的解决方案,据我所知并没有消除原因。