由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 万能的买买提,请教一个jenkins的问题
相关主题
学git,从哪开始呀请教一个初级问题
谁能比较一下ant和maven的有点缺点?Help, what you can do in this situation?
maven一问请教html中的href
大家一般用gradle还是maven输入输出流,stl,api精通各需要多长时间?
OpenStack的东西是不是学起来很难帮忙看一段php代码
那些公司用 the fucking gradle大家iphone编程,在哪儿用web service fetch股票历史信息,lott (转载)
Looking for code example to get stock datahibernate issue
fetching PDF articles on journals websites建议大家看看interlocked
相关话题的讨论汇总
话题: git话题: refs话题: bin话题: usr
进入Programming版参与讨论
1 (共1页)
a********l
发帖数: 980
1
SA weekend patch reboot之后突然就没法build了...
build 的 console output-
> /usr/bin/git fetch --tags --progress /home/user/repositories/git/user.git
+refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from /home/user/
repositories/git/user.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(
AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.
java:531)
at hudson.model.Run.execute(Run.java:1717)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:537)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git fetch --
tags --progress /home/user/repositories/git/user.git +refs/heads/*:refs/
remotes/origin/*" returned status code 128:
stdout:
stderr: error: cannot run git-upload-pack '/home/user/repositories/git/user.
git': No such file or directory
fatal: unable to fork
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(
CliGitAPIImpl.java:1591)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.
launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(
CliGitAPIImpl.java:86)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl
.java:324)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
Finished: FAILURE
1. git和jenkins 在一个box上,应该不是ssh的问题
2. login bax as jenkins, run /usr/bin/git fetch --tags --progress /home/user
/repositories/git/user.git +refs/heads/*:refs/remotes/origin/* 没有问题
3. Upgrade jenkins到1.600, GIT client plugin 到1.17.1, GIT Plugin到2.3.5还是
不行
4. 新建Freestyle project
, gradle project,不在Configure System里specify JDK, 可以fetch-
Fetching upstream changes from /home/user/repositories/git/user.git
> /usr/bin/git --version # timeout=10
> /usr/bin/git fetch --tags --progress /home/user/repositories/git/user.git
+refs/heads/*:refs/remotes/origin/*
> /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} #
timeout=10
Checking out Revision c6223c5c4693dc9be933b9e4b2fa915fea311891 (refs/remotes
/origin/master)
> /usr/bin/git config core.sparsecheckout # timeout=10
> /usr/bin/git checkout -f c6223c5c4693dc9be933b9e4b2fa915fea311891
> /usr/bin/git rev-list 050ac61d242b61ab88f533932820cab4e44db7b7 # timeout=
10
[Gradle] - Launching build.
[PROJECT] $ /var/lib/jenkins/tools/hudson.plugins.gradle.GradleInstallation/
Main/bin/gradle
ERROR: JAVA_HOME is not set and no 'java' command could be found in your
PATH.
specify JDK之后就不能fetch, same error
5. 新建Maven project 不work, same error
哪位大牛有啥clue可以further debug 一下。。。?bow~
ET
发帖数: 10701
2
stackoverflow is your rescue.

git

【在 a********l 的大作中提到】
: SA weekend patch reboot之后突然就没法build了...
: build 的 console output-
: > /usr/bin/git fetch --tags --progress /home/user/repositories/git/user.git
: +refs/heads/*:refs/remotes/origin/*
: ERROR: Error fetching remote repo 'origin'
: hudson.plugins.git.GitException: Failed to fetch from /home/user/
: repositories/git/user.git
: at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
: at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
: at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)

c*********e
发帖数: 16335
3
想想你改了些什么?

git

【在 a********l 的大作中提到】
: SA weekend patch reboot之后突然就没法build了...
: build 的 console output-
: > /usr/bin/git fetch --tags --progress /home/user/repositories/git/user.git
: +refs/heads/*:refs/remotes/origin/*
: ERROR: Error fetching remote repo 'origin'
: hudson.plugins.git.GitException: Failed to fetch from /home/user/
: repositories/git/user.git
: at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
: at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
: at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)

a********l
发帖数: 980
4
那里也发贴了

【在 ET 的大作中提到】
: stackoverflow is your rescue.
:
: git

a********l
发帖数: 980
5
上上周五还好用的,周末SA一patch,一reboot就不行了。。。我自己啥都没改啊...

【在 c*********e 的大作中提到】
: 想想你改了些什么?
:
: git

c*********e
发帖数: 16335
6
patch是什么?

【在 a********l 的大作中提到】
: 上上周五还好用的,周末SA一patch,一reboot就不行了。。。我自己啥都没改啊...
a********l
发帖数: 980
7
把server上的一些模块升级一下,SA说是改了unix core 和rsysinfo 应该没系

【在 c*********e 的大作中提到】
: patch是什么?
c*********e
发帖数: 16335
8
去这个目录里找这个文件存在吗?
'/home/user/repositories/git/user.git': No such file or directory

【在 a********l 的大作中提到】
: 把server上的一些模块升级一下,SA说是改了unix core 和rsysinfo 应该没系
a********l
发帖数: 980
9
存在,如果新建free style project, 不specify JDK, 用 gradle的话可以fetch,但
specify JDK后就不能fetch了

【在 c*********e 的大作中提到】
: 去这个目录里找这个文件存在吗?
: '/home/user/repositories/git/user.git': No such file or directory

b******7
发帖数: 123
10
jdk升级了?

【在 a********l 的大作中提到】
: 存在,如果新建free style project, 不specify JDK, 用 gradle的话可以fetch,但
: specify JDK后就不能fetch了

a********l
发帖数: 980
11
没。。。一直都是jdk_l.7_64l55之类的

【在 b******7 的大作中提到】
: jdk升级了?
1 (共1页)
进入Programming版参与讨论
相关主题
建议大家看看interlockedOpenStack的东西是不是学起来很难
今天给c++震惊了那些公司用 the fucking gradle
请问大牛,ajax这个东东过时了吗?Looking for code example to get stock data
unordered_map到底有多快fetching PDF articles on journals websites
学git,从哪开始呀请教一个初级问题
谁能比较一下ant和maven的有点缺点?Help, what you can do in this situation?
maven一问请教html中的href
大家一般用gradle还是maven输入输出流,stl,api精通各需要多长时间?
相关话题的讨论汇总
话题: git话题: refs话题: bin话题: usr