It seems that shelving some unit tests (13 project wide in our case) lead into a stage error, so cannot run any configuration of that project anymore. If i unshelve them, it work again.
Event log says:
Importance: Error
Message:
Stage Controller
Error with stage: @link(1004, 892e2da7-3bc2-44c6-a1a9-a50e00f2bf4d)[Build]. Message: Exception: InvalidOperationException
Message: Das Objekt mit Nullwert muss einen Wert haben.
Stack Trace: bei System.Nullable1.get_Value()</span><br><span> bei Continua.Modules.Builds.Agents.ServerAgentController.<setupagentexecutioncontext>b__17(UnitTestShelve p)</setupagentexecutioncontext></span><br><span> bei System.Linq.Enumerable.WhereSelectListIterator
2.MoveNext()
bei System.Collections.Generic.List1..ctor(IEnumerable
1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei Continua.Modules.Builds.Agents.ServerAgentController.SetupAgentExecutionContext(Stage stage, Build build, RegisteredAgent agent, IServerAgentManager agentManager, ISession session)
bei Continua.Modules.Builds.Agents.ServerAgentController.Execute(ISession session, CancellationToken cancellationToken, Action action, Stage stage, BuildLogWriter buildLogWriter, String& errorMessage, Result& initWorkspaceResult, String& agentHostName)
bei Continua.Modules.Builds.BuildRunner.ExecuteActions(ISession session, Stage stage, BuildLogWriter writer, Result& initWorkspaceResult)