开发者社区> 问答> 正文

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

我是在本地有一个git仓库

如图所示

 

下面是hudson的配置 不知道怎么配置

展开
收起
montos 2020-06-02 12:25:59 678 0
1 条回答
写回答
取消 提交回答
  • 百度爬的真快

     

    ######

    下面是构建失败日志

    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/
    2020-06-02 12:26:10
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
新一代高效Git协同模型 立即下载
AGit-Flow:新一代高效Git协同模型 立即下载
AGit-flow:新一代高效Git协同模型 立即下载