Fixed jenkins build script

This commit is contained in:
WolverinDEV 2019-07-06 21:51:51 +02:00
parent fcf77d7e07
commit 97a10b4f64

View File

@ -66,16 +66,16 @@ function compile_native() {
eval ${_command}
check_err_exit ${project_name} "Failed create build targets!"
cmake --build `pwd` --target update_installer -- -j 12
cmake --build `pwd` --target update_installer -- ${CMAKE_MAKE_OPTIONS}
check_err_exit ${project_name} "Failed build teaclient update installer!"
cmake --build `pwd` --target teaclient_connection -- -j 12
cmake --build `pwd` --target teaclient_connection -- ${CMAKE_MAKE_OPTIONS}
check_err_exit ${project_name} "Failed build teaclient connection!"
cmake --build `pwd` --target teaclient_crash_handler -- -j 12
cmake --build `pwd` --target teaclient_crash_handler -- ${CMAKE_MAKE_OPTIONS}
check_err_exit ${project_name} "Failed build teaclient crash handler!"
cmake --build `pwd` --target teaclient_ppt -- -j 12
cmake --build `pwd` --target teaclient_ppt -- ${CMAKE_MAKE_OPTIONS}
check_err_exit ${project_name} "Failed build teaclient ppt!"
end_task "${project_name}_native" "Native extensions compiled"
@ -104,8 +104,8 @@ function deploy_client() {
end_task "${project_name}_package" "Client successfully deployed!"
}
#install_npm
#compile_scripts
install_npm
compile_scripts
compile_native
package_client
deploy_client