Skip to content

Commit

Permalink
Fix build?
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Willemsen committed Aug 29, 2018
1 parent f715179 commit f3184e4
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions build/jenkins_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ net use p: \\isis\inst$ /user:isis\IBEXbuilder %BUILDERPW%

python.exe purge_archive_client.py

if "%IS_E4_DEPLOY%" == "YES" (
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.e4.client.product\target\products\ibex.product\win32\win32\x86_64
) else (
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.client.product\target\products\ibex.product\win32\win32\x86_64
)

REM Don't group these. Bat expands whole if at once, not sequentially
if "%RELEASE%" == "YES" (
set RELEASE_DIR=p:\Kits$\CompGroup\ICP\Releases\%GIT_BRANCH:~8%
set RELEASE_VERSION=%GIT_BRANCH:~8%
set RELEASE_VERSION=%GIT_BRANCH:~8%
) else (
set RELEASE_VERSION=devel-%GIT_COMMIT:~0,7%
)
Expand All @@ -51,17 +57,9 @@ if not "%RELEASE%" == "YES" (
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client_E4
) else (
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client
)
)
)

if "%IS_E4_DEPLOY%" == "YES" (
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.e4.client.product\target\products\ibex.product\win32\win32\x86_64
) else (
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.client.product\target\products\ibex.product\win32\win32\x86_64
)

set INSTALLDIR=%INSTALLBASEDIR%

if not "%RELEASE%" == "YES" set INSTALLDIR=%INSTALLBASEDIR%\BUILD%BUILD_NUMBER%
REM Set a symlink for folder BUILD_LATEST to point to most recent build
if not "%RELEASE%" == "YES" set INSTALLLINKDIR=%INSTALLBASEDIR%\BUILD_LATEST
Expand Down

0 comments on commit f3184e4

Please sign in to comment.