bundle_name.ini

This commit is contained in:
rusefi 2020-06-06 17:17:33 -04:00
parent 5aa554f452
commit 1ad2b83ce2
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,8 @@
set script_name=build_working_folder.bat
echo Entering %script_name%
echo %bundle_file% > temp/bundle_name.ini
pwd
echo %script_name%: Working folder: %folder%
mkdir %folder%

View File

@ -16,11 +16,12 @@ for /f %%i in ('datecyg +%%Y%%m%%d_%%H%%M%%S') do set TIMESTAMP=%%i
set folder=snapshot_%TIMESTAMP%_%bundle_name%_rusefi
set folder=temp\%folder%
set bundle_file=rusefi_bundle_%bundle_name%.zip
echo Packaging temp\rusefi_bundle.zip file
call misc\jenkins\build_working_folder.bat
cd temp
set bundle_file=rusefi_bundle_%bundle_name%.zip
mv rusefi_bundle.zip %bundle_file%
echo Uploading %bundle_file%

View File

@ -80,6 +80,7 @@ set folder=temp\%folder%
echo "%script_name%: folder variable3=%folder%"
pwd
set bundle_file=rusefi_bundle.zip
call misc\jenkins\build_working_folder.bat
IF NOT ERRORLEVEL 0 (
echo %script_name%: ERROR: invoking build_working_folder.bat
@ -104,7 +105,7 @@ cd temp
if not exist rusefi_bundle.zip echo %script_name%: ERROR not found rusefi_bundle.zip
if not exist rusefi_bundle.zip EXIT /B 1
echo "%script_name%: Uploading stuff"
ncftpput -u %RUSEFI_BUILD_FTP_USER% -p %RUSEFI_BUILD_FTP_PASS% %RUSEFI_FTP_SERVER% . rusefi_bundle.zip
ncftpput -u %RUSEFI_BUILD_FTP_USER% -p %RUSEFI_BUILD_FTP_PASS% %RUSEFI_FTP_SERVER% . %bundle_file%
cd ..