Allow jenkins agent to cleanup cmake folder (#1934)
* allow cmake folder to be deleted
This commit is contained in:
Родитель
fde5846f25
Коммит
012ba1025e
|
@ -125,9 +125,10 @@ process_args ()
|
|||
process_args $*
|
||||
|
||||
rm -r -f $build_folder
|
||||
mkdir -p $build_folder
|
||||
mkdir –m777 -p $build_folder
|
||||
pushd $build_folder
|
||||
cmake $toolchainfile $cmake_install_prefix -Drun_valgrind:BOOL=$run_valgrind -DcompileOption_C:STRING="$extracloptions" -Drun_e2e_tests:BOOL=$run_e2e_tests -Drun_sfc_tests:BOOL=$run-sfc-tests -Drun_longhaul_tests=$run_longhaul_tests -Duse_amqp:BOOL=$build_amqp -Duse_http:BOOL=$build_http -Duse_mqtt:BOOL=$build_mqtt -Ddont_use_uploadtoblob:BOOL=$no_blob -Drun_unittests:BOOL=$run_unittests -Dbuild_python:STRING=$build_python -Dno_logging:BOOL=$no_logging $build_root -Duse_prov_client:BOOL=$prov_auth -Duse_tpm_simulator:BOOL=$prov_use_tpm_simulator -Duse_edge_modules=$use_edge_modules
|
||||
chmod --recursive ugo+rw ../../cmake
|
||||
|
||||
if [ "$make" = true ]
|
||||
then
|
||||
|
|
Загрузка…
Ссылка в новой задаче