I use git, gerrit, and jenkins as my CI system.
I can successfully push to gerrit ,review code on gerrit, and clone my 
remote git repository to local computer, but now I'm not able to build on 
jenkins. 

git and gerrit were installed on unbuntu, and jenkins was installed on 
windows (w7). 

Here is my Console Output:
Retriggered by user jenkinsw for Gerrit: http://10.10.55.34:8082/8 建置中 工作區 
C:\Program Files (x86)\Jenkins\jobs\testw\workspace C:\Program 
Files\Git\git-bash.exe rev-parse --is-inside-work-tree # timeout=10 
Fetching changes from the remote Git repository > C:\Program 
Files\Git\git-bash.exe config remote.origin.url 
ssh://[email protected]:29418/test.git # timeout=10 Fetching upstream 
changes from ssh://[email protected]:29418/test.git C:\Program 
Files\Git\git-bash.exe --version # timeout=10 C:\Program 
Files\Git\git-bash.exe --version # timeout=10 C:\Program 
Files\Git\git-bash.exe fetch --tags 
ssh://[email protected]:29418/test.git refs/changes/08/8/1 C:\Program 
Files\Git\git-bash.exe rev-parse 
"b8494ff5d3176890e85f4450de84e7031b909130^{commit}" # timeout=10 ERROR: 
Couldn't find any revision to build. Verify the repository and branch 
configuration for this job. Finished: FAILURE

And I found that there is only a ".git" file in the workspace in my server 
computer! Shouldn't it clone what I push on gerrit?
Why is that? What should I do? or any else info I should put on? 

By the way, I tried  exactly the same setting by using another jenkins 
server which is installed on ubuntu, it works! 
Why can't I use these setting when on window?

hope you can help me!! thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/158e1c46-a3aa-472b-a358-524f722769d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to