bundle_name.ini
This commit is contained in:
parent
7ad8b2c863
commit
71032041d7
|
@ -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%
|
||||
|
|
|
@ -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%
|
||||
|
|
|
@ -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 ..
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue