File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,27 @@ REM use LATEST_PYTHON3 to avoid process being killed
17
17
" %LATEST_PYTHON3% " -u " %~dp0 purge_archive.py"
18
18
set errcode = !errorlevel!
19
19
@ echo purge_archive.py exited with code !errcode!
20
+
21
+ @ echo Deleting build branches directories
22
+ set " KITROOT = \\isis.cclrc.ac.uk\inst$\Kits$\CompGroup\ICP"
23
+ pushd %KITROOT%
24
+ if !errorlevel! equ 0 (
25
+ set MYDIR = !CD!
26
+ for /d %%i in ( !MYDIR! \Client_E4 !MYDIR! \genie_python_3 !MYDIR! \script_generator !MYDIR! \Client_E4_win11 ) do (
27
+ if exist " %%i \branches" (
28
+ forfiles /p " %%i \branches" /d -60 /c " cmd /c del /q /s @path"
29
+ )
30
+ )
31
+ )
32
+ popd
33
+
20
34
for /F " skip=1" %%I in ('wmic path win32_localtime get dayofweek') do (set /a DOW=%%I 2 > NUL )
21
35
if %DOW% neq 6 (
22
36
@ echo Skipping debug symbol cleanup as day of week %DOW% is not 6
23
37
CALL " %~dp0 ..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
24
38
exit /b !errcode!
25
39
)
40
+
26
41
REM Remove old debug symbols from the archive
27
42
set " AGESTORE = c:\Program Files (x86)\Windows Kits\10\Debuggers\x64\agestore.exe"
28
43
set " KITROOT = \\isis.cclrc.ac.uk\inst$\Kits$\CompGroup\ICP"
You can’t perform that action at this time.
0 commit comments