Can you give a build log?
On Wed, Nov 7, 2012 at 3:54 AM, Philipp Schröter <pschroet...@gmail.com>wrote: > Hello, > > I am working on a project which uses Jenkins to start a build process > involving CMake. When I run the build on the machine itself, it works. But > it get's started form Jenkins it fails with a problem with CMake having > problems with Visual Studio compiler. (fatal error C1902: Program database > manager mismatch; please check your installation) > I have tried all the solutions that are proposed here: > https://wiki.jenkins-ci.org/display/JENKINS/My+software+builds+on+my+computer+but+not+on+Jenkins > without any success. > > Jenkins logs on as a local user (which can successfully build and compile > the project if he is doing it on the machine), updates the source code from > a subversion repository and starts the project with the following Windows > batch script: > call build_script_WIN7_64.bat "%JOB_NAME%" > > build_script_WIN7_64.bat looks like this: > call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" > cd C:\home\jenkins-slave\workspace\%~1\build-root > mkdir build > cd build > cmake -G "NMake Makefiles" ..\..\project > nmake /k > exit /B %ERRORLEVEL% > > Putting the script instructions directly into Jenkins didn't help. > > PS: %~1 is the name of the project "Build project on Windows 7 (vm2)" > which is passed to the batch file and having the double quotes removed by > the tilde. > -- Website: http://earl-of-code.com