허드슨을위한 힘내 플러그인을 사용할 때 내 온라인 자식 저장소 (git : //github.com/ithena/orm2dsl.git)에서 최신 소스를 가져 오는 작업은 항상 실패합니다.허드슨 체크 아웃 문제에 대한 힘내 플러그인
git plugin은 먼저 git fetch
을 실행합니다. 그런 다음 아래 그림과 같이 실패하면 git checkout -f origin/
을 실행하려고합니다. 이 문제가 my git repository일까요? 아니면 이해가 안되는 checkout 명령입니까?
망할 놈의 명령 whithout 작업 구성에 지점 세트 :
git checkout -f origin/
git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'origin/' which can not be resolved as commit?
작업 구성에서 마스터로 설정 분기 망할 놈의 명령 :
git checkout -f origin/master
git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'origin/master' which can not be resolved as commit?
허드슨 콘솔 출력 :
started
Checkout
[workspace] $ git fetch
Checking out origin/
[workspace] $ git checkout -f origin/
git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'origin/' which can not be resolved as commit?
FATAL: Error checking out origin/
java.lang.RuntimeException: Error checking out origin/
at hudson.plugins.git.GitAPI.launch(GitAPI.java:101)
at hudson.plugins.git.GitAPI.checkout(GitAPI.java:94)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:90)
at hudson.model.AbstractProject.checkout(AbstractProject.java:693)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:266)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:239)
at hudson.model.Run.run(Run.java:842)
at hudson.model.Build.run(Build.java:88)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:90)
허드슨 환경 : 데비안 엣지, 일 JSDK 6, 자식 1.4.4.4,
git을 v1.5.6으로 업데이트하고 분기를 명시 적으로 지정하면 트릭이 수행됩니다. – Ruben