Hi!
I am a Jenkins core devel newbie.
Meanwhile, I have managed to get the Jenkins master branch to build, based on the "BUILDING.txt" file in the sources. However, I first tried to build using
https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins , which didn't work. I would like to fix the Wiki page, but I need some help for that.
Here is what I tried, and how it failed. Note that I am working on Windows 7.
I cloned the git repo and ran "mvn -Plight-test install". When doing so, the build fails in the "core" component in some of the unit tests that were executed. I have attached the output of the mvn call to this message. A part of the problem seems to be that on Windows, symbolic links are not allowed by default, but that is not all.
So I thought that if the problem is just that some unit test fails, I simply disable the unit tests for now. On the wiki page, it is stated that to skip the tests, one can use "-Dskip-test-harness". Unfortunately, that didn't have any effect, the build still fails. If I understand it right, skip-test-harness will skip the independent test harness, which runs the integration tests, but the unit tests still run, right?
From BUILIDNG.txt, I saw the option "-DskipTests". When using that, jenkins finally builds.
So, my proposal or the wiki page would be:
- To add the command from "BUILDING.txt" for the very first trial to build jenkins.
- To hint at the option "-DskipTests" if the first "normal" build (with "mvn install") fails
Are there any objections? Or is there anything wrong in what I did?
Olaf