Bearbin's Automated Builds
Actually, don't change the CNAME.

x86 builds are failing for some reason and I have to do something today so I can't fix until tomorrow.
Reply
Thanks given by:
I tried to add my Pc as salve, but I'm getting this error:
"Cannot determine the location of the VS Common Tools folder."
anyone got any idea what that means?
Reply
Thanks given by:
Basically the entire build script needs to work on your end, so copy this into a .cmd file in your "c:\Jenkins\workspace\MCServer Windows x64 Master" folder:
Code:
:: Set the environment variables expected by build to contain the build info:
set MCSERVER_BUILD_ID=%BUILD_NUMBER%
set MCSERVER_SERIES_NAME=Jenkins %BUILD_URL%
set MCSERVER_BUILD_DATETIME=%BUILD_ID%

:: Build the server:
cmake -G "Visual Studio 12 Win64" -T "v120_xp" .
if errorlevel 1 exit /b 1
call "c:\program files (x86)\Microsoft Visual Studio 12.0\vc\vcvarsall.bat"
if errorlevel 1 exit /b 1
msbuild MCServer.sln /p:Configuration=Release
if errorlevel 1 exit /b 1

:: Build ProtoProxy:
cd Tools\ProtoProxy
cmake -G "Visual Studio 12" -T "v120_xp" .
if errorlevel 1 exit /b 1
msbuild ProtoProxy.sln /p:Configuration=Release
if errorlevel 1 exit /b 1
cd ..\..

:: Zip the executables and PDBs:
cd Install
echo %JOB_NAME%-%BUILD_DISPLAY_NAME% >..\MCServer\buildinfo.txt
echo %JOB_URL% >>..\MCServer\buildinfo.txt
7z a -tzip -y MCServer.zip -scsWIN -i@Zip2008.list -xr!*.git*
cd ..
7z a -tzip -y PDBs.zip -scsWIN -i@Install/Zip2008_PDBs.list -xr!*.git*
and try to run it from command prompt. You should be able to track where this script fails and fix the preconditions. Insert "echo SomeMarker" into the script file (or other script files it calls) to see where it fails.
Reply
Thanks given by:
Ok, it works localy, may I test it trough jenkins?
hold on, I didnt copied the hole scipt -,-
Reply
Thanks given by:
Also, do you run the Jenkins agent as a service, or manually?
A service account may have some paths set differently, so if you run as a service, try opening an admin cmd window and execute the script from there.
Reply
Thanks given by:
7zip was missing
I'll test that

It works with an administrator command promt aswell now.
Reply
Thanks given by:
May I re-enable my note (slave)?
Reply
Thanks given by:
I reenabled it, and disabled mine so that the next build runs on yours.
Reply
Thanks given by:
it seems like I have some problem with PATH. I have no idea what it could be. :/
Reply
Thanks given by:
the PATH problem is solved

it can't find 7z.....
its in path
Reply
Thanks given by:




Users browsing this thread: 10 Guest(s)