Hudson下面配置任务时git方式的源代码配置怎么配置呢?:配置报错 -问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

Hudson下面配置任务时git方式的源代码配置怎么配置呢?:配置报错 

kun坤 2020-05-31 21:51:18 25

我是在本地有一个git仓库 如图所示   下面是hudson的配置 不知道怎么配置

开发工具 git
分享到
取消 提交回答
全部回答(1)
  • kun坤
    2020-05-31 21:51:24

    百度爬的真快   ######下面是构建失败日志

    Started by user anonymous Checkout:workspace / C:\Documents and Settings\LocalService.hudson\jobs\daotie\workspace - hudson.remoting.LocalChannel@11ac6a4 Using strategy: Default Checkout:workspace / C:\Documents and Settings\LocalService.hudson\jobs\daotie\workspace - hudson.remoting.LocalChannel@11ac6a4 Fetching changes from the remote Git repository Fetching upstream changes from f:/git/daotie/.git ERROR: Problem fetching from daotie / daotie - could be unavailable. Continuing anywayERROR:  (Underlying report) : Error performing command: D:\Program Files\Git\bin fetch -t f:/git/daotie/.git +refs/heads/:refs/remotes/daotie/ Cannot run program "D:\Program Files\Git\bin" (in directory "C:\Documents and Settings\LocalService.hudson\jobs\daotie\workspace"): CreateProcess error=5, ???·?ERROR: Could not fetch from any repositoryFATAL: Could not fetch from any repositoryhudson.plugins.git.GitException: Could not fetch from any repository at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:887) 	 at hudson.plugins.git.GitSCM$3.invoke(GitSCM.java:845) 	 at hudson.FilePath.act(FilePath.java:758) 	 at hudson.FilePath.act(FilePath.java:740) 	 at hudson.plugins.git.GitSCM.gerRevisionToBuild(GitSCM.java:845) 	 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:622) 	 at hudson.model.AbstractProject.checkout(AbstractProject.java:1483) 	 at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:507) 	 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:424) 	 at hudson.model.Run.run(Run.java:1366) 	 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 	 at hudson.model.ResourceController.execute(ResourceController.java:88) 	 at hudson.model.Executor.run(Executor.java:145)

    ######http://www.zipfelmaus.com/blog/continous-integration-with-hudson-git-and-symfony/

    0 0
开发与运维
使用钉钉扫一扫加入圈子
+ 订阅

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题
推荐课程