| Summary: | Hudson build has stopped working for gemini-jpa project since migrating to git | ||
|---|---|---|---|
| Product: | Community | Reporter: | Michael Keith <michael.keith> |
| Component: | CI-Jenkins | Assignee: | Eclipse Webmaster <webmaster> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | denis.roy |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Michael Keith
Did you convert an existing job to use Git? I'm wondering if Hudson is 'saving' the code state in some way and isn't seeing the changes in git. If you manually checkout the code via the shell script widget in the configure pane, does the code get checked out? Have you tried removing the workspace? -M. Yes, it used to be checking out from svn until we converted to git. Yes, I have tried cleaning and even removing the workspace. Same result. Not sure what you mean when you say the "shell script widget in the configure pane". I only know of a shell script that can be executed as a build step, but that doesn't help because the build steps are not running. I think the issue may be the branch you're using. I cloned the gemini-jpa job and removed all the extra steps, and I was getting the same 'failed to determine'. Then I copied the jetty-rt git settings and it was much happier. So I took a quick look here: http://git.eclipse.org/c/gemini.jpa/org.eclipse.gemini.jpa.git and set the branch to 'trunk' and then the build seemed happier. -M. Ah! Just goes to show my git ignorance. I thought trunk *was* the master. How did it fill the hudson workspace with the correct directories, then, if it was pointing to a branch that didn't have anything in it? Also, if trunk is not the master what is in the master and how come I don't see it under "branches" on the web site? http://git.eclipse.org/c/gemini.jpa/org.eclipse.gemini.jpa.git I think that 'trunk' is an SVNism, so it's most likely a result of the SVN to Git conversion. I'm not familiar enough with the Hudson/Git internals to offer anything other than a guess that Hudson is cloning the entire repo and then branch hunting after the fact. Have you tried 'origin/master' as the branch name? -M. I had thought the main branch was master, but now I don't think there actually even is a master branch in this repo. I think it is just the default name, but when the migration of this repo happened it probably got named "trunk" instead. Okay, well, I think I know enough now to keep things going. Thank you very much indeed for all your help! -Mike I think we can mark this as fixed. |