DevOps forever

This commit is contained in:
rusefi 2019-06-01 14:08:31 -04:00
parent d2116225bb
commit 88c62b9528
2 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,8 @@
set script_name=build_working_folder.bat
echo Entering %script_name%
echo Working folder: %folder%
pwd
echo %script_name%: Working folder: %folder%
mkdir %folder%
cp java_console_binary/rusefi_console.jar %folder%
@ -37,8 +38,8 @@ zip -r %zip_name% *
IF NOT ERRORLEVEL 0 echo %script_name%: ERROR INVOKING zip
IF NOT ERRORLEVEL 0 EXIT /B 1
echo "Bundle %zip_name% ready"
ls %zip_name%
echo %script_name%: Bundle %zip_name% ready
ls -l %zip_name%
cd ..
echo "%script_name%: We are back in root directory"

View File

@ -1,4 +1,4 @@
set script_name=build_working_folder.bat
set script_name=run.bat
echo Entering %script_name%
set FTP_SERVER=home451478433.1and1-data.host
@ -13,7 +13,7 @@ if not exist java_console_binary/rusefi_console.jar exit -1
cd firmware
call clean.bat
cd ..
echo Compiling F746
echo %script_name%: Compiling F746
cd firmware\config\boards\nucleo_f746
call !compile-nucleo_f746.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile nucleo_f746
@ -28,7 +28,7 @@ echo %script_name%: Done with F746-nucleo
cd firmware
call clean.bat
cd ..
echo Compiling F767
echo %script_name%: Compiling F767
cd firmware\config\boards\nucleo_f767
call !compile-nucleo_f767.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile nucleo_f767
@ -44,7 +44,7 @@ echo %script_name%: Done with F767-nucleo
cd firmware
call clean.bat
cd ..
echo Compiling F767
echo %script_name%: Compiling F767
cd firmware\config\boards\nucleo_f767
call !compile-osc_f767.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile osc_f767
@ -54,14 +54,14 @@ cd ..
pwd
set bundle_name=stm32f767_osc
call misc\jenkins\compile_other_versions\build_version.bat
echo Done with F767-osc
echo %script_name%: Done with F767-osc
cd firmware
call clean.bat
cd ..
echo Compiling prometheus_405
echo %script_name%: Compiling prometheus_405
cd firmware\config\boards\prometheus
call !compile-prometheus-405.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile prometheus-405
@ -77,7 +77,7 @@ echo %script_name%: Done with prometheus_405
cd firmware
call clean.bat
cd ..
echo Compiling prometheus_469
echo %script_name%: Compiling prometheus_469
cd firmware\config\boards\prometheus
call !compile-prometheus-469.bat
if not exist build/rusefi.hex echo Just to confirm - FAILED to compile prometheus-469