Skip to content

Commit

Permalink
Jenkins script setup for java32
Browse files Browse the repository at this point in the history
This uses newly defined environment vars for java.
  • Loading branch information
darobs committed Sep 26, 2016
1 parent 50b7b61 commit 7f39d2f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions jenkins/windows_c.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@ set build-root=%~dp0..
rem // resolve to fully qualified path
for %%i in ("%build-root%") do set build-root=%%~fi

REM -- use 32 bit java8
set JAVA_SAVE=%JAVA_HOME%
set JAVA_HOME=%JAVA_8_32%

REM -- C --
cd %build-root%\tools
set PATH=%PATH%;%NODE_LIB%
set PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin\server;%PATH%;%NODE_LIB%

REM -- Build first dotnet binding for End2End Test.
call build_dotnet.cmd %*
if errorlevel 1 goto :eof

call build.cmd --run-e2e-tests --enable-nodejs-binding --enable-dotnet-binding %*
call build.cmd --run-e2e-tests --enable-nodejs-binding --enable-java-binding --enable-dotnet-binding %*
if errorlevel 1 goto :eof
cd %build-root%
cd %build-root%

set JAVA_HOME=%JAVA_SAVE%

0 comments on commit 7f39d2f

Please sign in to comment.