1

I have upgraded jenkins from 2.60.1 to 2.150.1. After upgrade I am getting the below error while getting the code from TFS. I have upgraded the TFS plugin also.

FATAL: java.lang.RuntimeException: 
com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
com.microsoft.tfs.core.ws.runtime.exceptions.SOAPFault: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
    at com.microsoft.tfs.core.ws.runtime.client.SOAP12Service.examineResponseDOMForFault(SOAP12Service.java:117)
    at com.microsoft.tfs.core.ws.runtime.client.SOAPService.examineBodyForFault(SOAPService.java:987)
    at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:665)
    at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)
    at ms.tfs.versioncontrol.clientservices._03._Repository5Soap12Service.updateLocalVersion(_Repository5Soap12Service.java:1170)
    at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.updateLocalVersion(WebServiceLayer.java:3067)
Caused: com.microsoft.tfs.core.exceptions.TECoreException: TF400898: An Internal Error Occurred. Activity Id: 36d215cc-c371-437a-9d54-2cf1f116d4bb.
biruk1230
  • 3,042
  • 4
  • 16
  • 29
Learner
  • 199
  • 2
  • 2
  • 12

1 Answers1

2

As I remember, TFS have the issue with path length - it cannot be more than 260 symbols, so try to use custom workspace for your job with a small name (like C:\tfs_checkout) to reduce the number of symbols in your path.

biruk1230
  • 3,042
  • 4
  • 16
  • 29
  • After upgrade there can be some differences in configuration and you need to re-configure your job. If you already checked tfs job configuration I can only recommend you to re-install Jenkins. Before that, you can [backup](https://stackoverflow.com/a/54195533/10721592) your jobs `config.xml` files and then after re-installing Jenkins you can upload them from disk (`Manage Jenkins -> Reload Configuration from Disk`) – biruk1230 Jan 23 '19 at 08:41
  • Thanks it is working fine. There was problem with characters length. – Learner Jan 23 '19 at 15:29
  • So, I was right about limiting path characters length, yes? – biruk1230 Jan 23 '19 at 15:35
  • Yes that was correct. But actually that is working fine with older version TFS plugin.There was confusion. – Learner Jan 23 '19 at 18:44