本文介绍了与詹金斯整合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们遇到集成TFS和Jenkins的问题,在创建新版本时我们收到以下错误:
发生错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
java.lang.RuntimeException:java.lang.RuntimeException:com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException:com.microsoft.tfs.core.exceptions.TECoreException:TF400898:发生内部错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
at hudson.plugins.tfs.model.Server.execute(Server.java:157)
at hudson.plugins.tfs.model.Project.getFiles(Project.java:256)
at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:57)
at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:270)
at hudson.model.AbstractProject .checkout(AbstractProject.java:1269)
at hudson.model.AbstractBuild $ AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild $ AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild。 run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
引起:java.lang.RuntimeException:com.microsoft.tfs.core.clients.versioncontrol.exceptions.V ersionControlException:com.microsoft.tfs.core.exceptions.TECoreException:TF400898:发生内部错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2666)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace。 get(Workspace.java:2527)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2515)
at com.microsoft.tfs.core。 clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2491)
at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:60)
at hudson.plugins.tfs。 commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17)
at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
at hudson.plugins.tfs.model.Server.execute(Server。 java:153)
... 11更多
引起:com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException:com.microsoft.tfs.core.exceptions.TECoreException:TF400898:发生了内部错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.throwIfFatalError(GetEngine.java:3349)
at com.microsoft.tfs.core.clients.versioncontrol.engines。 internal.GetEngine.processOperationsInternal(GetEngine.java:1284)
at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperations(GetEngine.java:1080)
at com。 microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processGetOperations(GetEngine.java:900)
at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java) :2652)
... 18更多
引起:com.microsoft.tfs.core.exceptions.TECoreException:TF400898:发生内部错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:105)
at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper。 java:50)
at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3650)
at com.microsoft.tfs.core.clients.versioncontrol。 internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3691)
at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.sendToServer(UpdateLocalVersionQueue.java:875)
at com.microsoft.tfs。 core.clients.versioncontrol.UpdateLocalVersionQueue.flush(UpdateLocalVersionQueue.java:498)
at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.queueUpdate(UpdateLocalVersionQueue.java:408)
at com。 microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation.queueLocalVersionUpdate(AsyncGetOperation.java:312)
com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.completeGetOperation(GetDownloadWorker.java:697)
at com.microsoft.tfs.core.clients.versioncontrol.engines.internal .workers.GetDownloadWorker.call(GetDownloadWorker.java:168)
com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:74)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.Executors $ RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown来源)
at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor $ 1.run(BoundedExecutor.java:96)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown来源)
at java.util.concurrent.ThreadPoolExecutor $ Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
引起:com.microsoft.tfs .core.ws.runtime.exceptions.SOAPFault:TF400 898:发生内部错误。活动ID:dfd954bf-fc5e-4816-8b01-d9d59ee49cb7。
at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:132)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService。 examineBodyForFault(SOAPService.java:1103)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:732)
at com.microsoft.tfs.core。 ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:475)
at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1169)
at com.microsoft。 tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3634)
... 15更多
什么是这个问题? 谢谢!
$
解决方案
Hi, we facing issues with integration TFS and Jenkins , while creating a new build we getting the following error:
Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. java.lang.RuntimeException: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. at hudson.plugins.tfs.model.Server.execute(Server.java:157) at hudson.plugins.tfs.model.Project.getFiles(Project.java:256) at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:57) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:270) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.RuntimeException: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2666) at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2527) at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2515) at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2491) at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:60) at hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand.call(GetFilesToWorkFolderCommand.java:17) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.plugins.tfs.model.Server.execute(Server.java:153) ... 11 more Caused by: com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.throwIfFatalError(GetEngine.java:3349) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperationsInternal(GetEngine.java:1284) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processOperations(GetEngine.java:1080) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.GetEngine.processGetOperations(GetEngine.java:900) at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspace.get(Workspace.java:2652) ... 18 more Caused by: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:105) at com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:50) at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3650) at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3691) at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.sendToServer(UpdateLocalVersionQueue.java:875) at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.flush(UpdateLocalVersionQueue.java:498) at com.microsoft.tfs.core.clients.versioncontrol.UpdateLocalVersionQueue.queueUpdate(UpdateLocalVersionQueue.java:408) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.AsyncGetOperation.queueLocalVersionUpdate(AsyncGetOperation.java:312) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.completeGetOperation(GetDownloadWorker.java:697) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:168) at com.microsoft.tfs.core.clients.versioncontrol.engines.internal.workers.GetDownloadWorker.call(GetDownloadWorker.java:74) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at com.microsoft.tfs.core.clients.versioncontrol.internal.concurrent.BoundedExecutor$1.run(BoundedExecutor.java:96) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: dfd954bf-fc5e-4816-8b01-d9d59ee49cb7. at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:132) at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:1103) at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:732) at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:475) at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1169) at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3634) ... 15 more
What is the problem? Thanks !
解决方案
这篇关于与詹金斯整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!