Skip to content

Commit 08696e1

Browse files
committed
Fix build?
1 parent 4a46dc8 commit 08696e1

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

build/jenkins_build.bat

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,16 @@ net use p: \\isis\inst$
3737

3838
python.exe purge_archive_client.py
3939

40+
if "%IS_E4_DEPLOY%" == "YES" (
41+
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.e4.client.product\target\products\ibex.product\win32\win32\x86_64
42+
) else (
43+
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.client.product\target\products\ibex.product\win32\win32\x86_64
44+
)
45+
4046
REM Don't group these. Bat expands whole if at once, not sequentially
4147
if "%RELEASE%" == "YES" (
4248
set RELEASE_DIR=p:\Kits$\CompGroup\ICP\Releases\%GIT_BRANCH:~8%
43-
set RELEASE_VERSION=%GIT_BRANCH:~8%
49+
set RELEASE_VERSION=%GIT_BRANCH:~8%
4450
) else (
4551
set RELEASE_VERSION=devel-%GIT_COMMIT:~0,7%
4652
)
@@ -52,17 +58,9 @@ if not "%RELEASE%" == "YES" (
5258
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client_E4
5359
) else (
5460
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client
55-
)
61+
)
5662
)
5763

58-
if "%IS_E4_DEPLOY%" == "YES" (
59-
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.e4.client.product\target\products\ibex.product\win32\win32\x86_64
60-
) else (
61-
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.client.product\target\products\ibex.product\win32\win32\x86_64
62-
)
63-
64-
set INSTALLDIR=%INSTALLBASEDIR%
65-
6664
if not "%RELEASE%" == "YES" set INSTALLDIR=%INSTALLBASEDIR%\BUILD%BUILD_NUMBER%
6765
REM Set a symlink for folder BUILD_LATEST to point to most recent build
6866
if not "%RELEASE%" == "YES" set INSTALLLINKDIR=%INSTALLBASEDIR%\BUILD_LATEST

0 commit comments

Comments
 (0)