CORE-584 - Compile script

This commit is contained in:
Dan Hawkins 2022-01-12 16:51:31 +00:00
commit e9e01a00ed

View file

@ -33,9 +33,9 @@ pipeline {
script {
SOURCEURL = 'git@hydra:core-presto/pc-utilities/local-network-package-updater.git'
SOURCEREVISION = "${SOURCE_REVISION}"
SOURCE_PATH = "${WORKSPACE}\\lnpu"
SOURCE_PATH = 'lnpu'
configurationhelper.gitCheckoutAndRegister(meta, 'lnpu', SOURCEURL, SOURCEREVISION, SOURCE_PATH, '', 0, false)
env.SRC = "${SOURCE_PATH}/Local Network Package Updater"
env.SRC = "${SOURCE_PATH}\\Local Network Package Updater"
}
}
}
@ -82,7 +82,7 @@ pipeline {
REM run VC VARS to set up environment
for /f "usebackq tokens=*" %%i in (`%VSWHERE% -version "[16.0,)" -products Microsoft.VisualStudio.Product.Professional -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
call "%%i%\VC\Auxiliary\Build\vcvars64.bat" -vcvars_ver=14.29
call "%%i%\\VC\\Auxiliary\\Build\\vcvars64.bat" -vcvars_ver=14.29
if errorlevel 1 exit /b 1
)
@ -120,7 +120,7 @@ pipeline {
echo mkbuildsubroutine = %1
REM Perform a clean build of main product 64bit
%1 "%SRC%\Local Network Package Updater.sln" /t:Rebuild /p:Configuration=%RELEASE_CONFIGURATION% /p:Platform=x64 %MAXCPUCOUNT% %NODEREUSE% %VERBOSITY%
%1 "%SRC%\\Local Network Package Updater.sln" /t:Rebuild /p:Configuration=%RELEASE_CONFIGURATION% /p:Platform=x64 %MAXCPUCOUNT% %NODEREUSE% %VERBOSITY%
if errorlevel 1 EXIT /b 1
EXIT /b 0