Skip to content

Commit f3184e4

Browse files
committed
Fix build?
1 parent f715179 commit f3184e4

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
@@ -36,10 +36,16 @@ net use p: \\isis\inst$ /user:isis\IBEXbuilder %BUILDERPW%
3636

3737
python.exe purge_archive_client.py
3838

39+
if "%IS_E4_DEPLOY%" == "YES" (
40+
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.e4.client.product\target\products\ibex.product\win32\win32\x86_64
41+
) else (
42+
set TARGET_DIR=base\uk.ac.stfc.isis.ibex.client.product\target\products\ibex.product\win32\win32\x86_64
43+
)
44+
3945
REM Don't group these. Bat expands whole if at once, not sequentially
4046
if "%RELEASE%" == "YES" (
4147
set RELEASE_DIR=p:\Kits$\CompGroup\ICP\Releases\%GIT_BRANCH:~8%
42-
set RELEASE_VERSION=%GIT_BRANCH:~8%
48+
set RELEASE_VERSION=%GIT_BRANCH:~8%
4349
) else (
4450
set RELEASE_VERSION=devel-%GIT_COMMIT:~0,7%
4551
)
@@ -51,17 +57,9 @@ if not "%RELEASE%" == "YES" (
5157
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client_E4
5258
) else (
5359
set INSTALLBASEDIR=p:\Kits$\CompGroup\ICP\Client
54-
)
60+
)
5561
)
5662

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

0 commit comments

Comments
 (0)