I'm trying to configure release management to run with our TFS. Upon building I get an exception and cannot work out how to fix it:
Exception Message: Release build failed (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)
The releases do not appear on the release management client. So i can only assume it cant reach the release management server? Is there anyway to get more debug information?
I cant find much information on this?
In addition to what Wouter said (Hi Wouter! :)):
To find out what;s causing the error you can edit your Build Definition and then disable the Release trigger. Then make sure your builds succeeds.
If the build succeeds without triggering a release, you can start a manual release from the RM Client and then select the latest build output that you just created.
This way, you can track the details of your release.
If both succeed, it could be that the account you're running your builder under doesn't have permissions to trigger a release in RM. You should check the account and make sure it can execute tasks on behalf of others.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With