style: Clean up jenkins build script
* Get rid of double backslashes in quoted paths to improve readability * Call 'activate.bat' instead of 'activate' (official python docs say to use the former) * Add docs
This commit is contained in:
1 parent
faa8438adf
commit
2ed23159ca
1 file changed
+4
-1
@@ -1,10 +1,13 @@
|
||||
@echo off
|
||||
|
||||
@REM Build script designed for our jenkins build job(s). It assumes the py
|
||||
@REM venv already exists.
|
||||
|
||||
setlocal
|
||||
set tools_dir=%~dp0
|
||||
set venv_dir=%~dp0..\.venv\
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat"
|
||||
call "%venv_dir%Scripts\activate"
|
||||
call "%venv_dir%Scripts\activate.bat"
|
||||
call python "%tools_dir%py\build_spark.py" %*
|
||||
|
||||
EXIT /B %ERRORLEVEL%
|
||||
Reference in new issue
Block a user