2017-09-16 106 views
1

我刚刚在Visual Studio安装新更新后出现此错误。出于某种原因,我的构建版本现在不会从Jenkins中获取。已经在这个几个小时了,似乎无法弄清楚。Jenkins GIT正在读取错误

我从BitBucket中获取。

请帮忙。

发起者定时器 建设工作区C:\ Program Files文件(x86)的\詹金斯\工作区\ CA [WS-清理]删除项目工作区... [WS-清理]完成 克隆远程Git仓库https://bitbucket.org/XXXXX/CA.git

git init C:\Program Files (x86)\Jenkins\workspace\CA\CA # timeout=10 Fetching upstream changes from https://bitbucket.org/XXXX/CA.git git --version # timeout=10 using GIT_ASKPASS to set credentials Bitbucket git fetch --tags --progress https://bitbucket.org/XXXX/CA.git +refs/heads/:refs/remotes/origin/ ERROR: Timeout after 10 minutes ERROR: Failed to join a process org.jvnet.winp.WinpException: Process with pid=26808 is not a 32bit process (or it is not running). Cannot query it from a 32bit library error=268435458 at envvar-cmdline.cpp:183 at org.jvnet.winp.Native.getCmdLine(Native Method) at org.jvnet.winp.WinProcess.parseCmdLine(WinProcess.java:132) at org.jvnet.winp.WinProcess.getCommandLine(WinProcess.java:107) at hudson.util.ProcessTree$WindowsOSProcess.getArguments(ProcessTree.java:451) at hudson.plugins.msbuild.MsBuildKillingVeto.vetoProcessKilling(MsBuildKillingVeto.java:56) at hudson.util.ProcessTree$OSProcess.getVeto(ProcessTree.java:243) at hudson.util.ProcessTree$WindowsOSProcess.killRecursively(ProcessTree.java:429) at hudson.util.ProcessTree.killAll(ProcessTree.java:146) at hudson.Proc$LocalProc.destroy(Proc.java:384) at hudson.Proc$LocalProc.kill(Proc.java:376) at hudson.Proc$1.run(Proc.java:163) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Command "git fetch --tags --progress https://bitbucket.org/XXXX/CA.git +refs/heads/:refs/remotes/origin/" returned status code 128: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:559) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1075) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1115) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:143) at hudson.scm.SCM.checkout(SCM.java:495) at hudson.model.AbstractProject.checkout(AbstractProject.java:1212) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:566) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:491) at hudson.model.Run.execute(Run.java:1729) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:419) ERROR: Error cloning remote repo 'origin' Finished: FAILURE

+0

请尝试设置源代码管理→分支构建→*/develop –

+0

有时Jenkins与Bitbucket插件无法使用您的自定义名称来拉特殊分支。只需拉'develop'或'master' ... –

+0

@QuỳnhNguyễn这些只是从开发或主人拉。他们不从任何其他分支名称获取。 –

回答

2

克隆库尝试改变MSBuild的版本,一个是VS2017。为我工作