From e9e01a00ed0e70c0938135c0943b7fd17164bf4a Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Wed, 12 Jan 2022 16:51:31 +0000 Subject: [PATCH] CORE-584 - Compile script --- compile/compile.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compile/compile.groovy b/compile/compile.groovy index dcf03bb..46988d8 100644 --- a/compile/compile.groovy +++ b/compile/compile.groovy @@ -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