3

目前,分支索引对我来说已被破坏 - 这发生在旧工作以及尝试创建新工作时。它已经使用相同版本的詹金斯( 2.0-beta1 ) - 不知道是什么破坏了它 - 这个服务器上的互联网和时间也很好(认为它可能是因为它源于证书问题):

Branch Indexing Log

Started by timer
FATAL: Failed to recompute children of PassAndroid
java.lang.IllegalArgumentException: byteString == null
    at okio.Buffer.write(Buffer.java:787)
    at com.squareup.okhttp.Cache$Entry.readCertificateList(Cache.java:628)
    at com.squareup.okhttp.Cache$Entry.<init>(Cache.java:555)
    at com.squareup.okhttp.Cache.get(Cache.java:194)
    at com.squareup.okhttp.Cache$1.get(Cache.java:139)
    at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:226)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:438)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:389)
    at com.squareup.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:502)
    at com.squareup.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
    at com.squareup.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
    at org.kohsuke.github.Requester.parse(Requester.java:479)
    at org.kohsuke.github.Requester._to(Requester.java:236)
    at org.kohsuke.github.Requester.to(Requester.java:203)
    at org.kohsuke.github.GitHub.isCredentialValid(GitHub.java:447)
    at org.jenkinsci.plugins.github_branch_source.GitHubSCMSource.retrieve(GitHubSCMSource.java:224)
    at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146)
    at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:296)
    at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:151)
    at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
Finished: FAILURE

任何人也经历过这种情况,也许有解决方法?我在这里将其作为错误提交:https ://github.com/kohsuke/github-api/issues/265 - 但仍然会对解决方法感兴趣,因为这会阻止我现在使用 jenkins

4

1 回答 1

5

问题是缓存损坏

rm -rf org.jenkinsci.plugins.github.GitHubPlugin.cache/

为我解决了问题

于 2016-03-31T15:44:49.113 回答