This commit is contained in:
rusefi 2019-06-01 10:37:32 -04:00
parent 0794a88f16
commit b649a8c507
5 changed files with 29 additions and 7 deletions

View File

@ -10,7 +10,7 @@ call misc\jenkins\build_working_folder.bat
rem TODO: extract FTP duplication with 407 build
echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt
echo open ftp://%RUSEFI_BUILD_FTP_USER%:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt
echo binary >> ftp_commands.txt
echo put rusefi_bundle.zip rusefi_bundle_%bundle_name%.zip >> ftp_commands.txt

View File

@ -92,7 +92,7 @@ pwd
zip -j temp/rusefi_simulator.zip simulator/build/rusefi_simulator.exe firmware/tunerstudio/rusefi.ini java_console_binary/rusefi_console.jar
echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt
echo open ftp://%RUSEFI_BUILD_FTP_USER%:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt
echo binary >> ftp_commands.txt
echo put rusefi_bundle.zip >> ftp_commands.txt

View File

@ -22,3 +22,5 @@ rem actually Cygwin http://rusefi.com/wiki/index.php?title=Internal:Software:Bui
cd ../doxygen
echo Uploading Doxygen
ncftpput -R -v -u %RUSEFI_DOXYGEN_FTP_USER% -p %RUSEFI_DOXYGEN_FTP_PASS% %RUSEFI_FTP_SERVER% /html html/*
IF NOT ERRORLEVEL echo upload FAILED
IF NOT ERRORLEVEL 0 EXIT /B 1

View File

@ -5,18 +5,28 @@ https://sliksvn.com/download/ used to produce numeric revision number
https://cygwin.com/install.html needs to be added to System PATH manually
cygwin: make, gcc, zip
cygwin: ccache
Add Environment Variable
Add System Environment Variable
CCACHE_DIR
c:\ccache
java needs to be added to System PATH manually
https://ant.apache.org/ needs to be added to System PATH manually. used to build java stuff
https://jenkins.io/download/
Additional plugings:
Pipeline GitHub Notify Step
https://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo
https://github.com/settings/tokens
Discard Old Build
smtphost: smtp.gmail.com
@ -24,18 +34,28 @@ r***@gmail.com
useSsl=yes
https://www.ncftp.com/download/ !!! c:\windows !!! needs to be added to System PATH manually. This FTP client installs itself right into c:\windows folder
RUSEFI_BUILD_FTP_USER & RUSEFI_BUILD_FTP_PASS needs to be added to System PATH manually
RUSEFI_DOXYGEN_FTP_USER & RUSEFI_DOXYGEN_FTP_PASS needs to be added to System PATH manually
http://www.doxygen.nl/download.html needs to be added to System PATH manually
https://graphviz.gitlab.io/download/ needs to be added to System PATH manually, used by Doxygen
http://www.kicad-pcb.org/download/ for iBom automation
http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/utility/stsw-link004.zip ST Link Utility
http://www.st.com/web/en/catalog/tools/PF257938 ST virtual serial driver
Jobs:
1) unit tests
2)
2) integration_and_primary_bundle
3)
3) documentation
4) build_extra_bundles

View File

@ -19,7 +19,7 @@ IF NOT ERRORLEVEL echo ERROR INVOKING VERSION HEADER GENERATOR
IF NOT ERRORLEVEL 0 EXIT /B 1
make -j4
make -j6
if not exist build/rusefi.hex echo FAILED TO COMPILE FIRMWARE
if not exist build/rusefi.hex exit -1
cd ..
@ -58,6 +58,6 @@ IF NOT ERRORLEVEL 0 EXIT /B 1
echo "TIMESTAMP %date% %time% Now uploading only firmware
ncftpput -u u71977750-build -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% separate_files firmware/build/rusefi_firmware.zip
ncftpput -u %RUSEFI_BUILD_FTP_USER% -p %RUSEFI_BUILD_FTP_PASS% %FTP_SERVER% separate_files firmware/build/rusefi_firmware.zip
IF NOT ERRORLEVEL echo Invoking ncftpput has failed
IF NOT ERRORLEVEL 0 EXIT /B 1