Loading .gitlab-ci.yml +17 −2 Original line number Diff line number Diff line Loading @@ -1253,8 +1253,23 @@ voip-be-on-merge-request: - unzip artifacts.zip || true # this may fail on first run, when there are no artifacts there and the zip file is actually just "404"-html - ls - public_dir="$CI_JOB_NAME-public" # if is needed to catch case when no artifact is there (first run), similarly as above - if [[ -d $public_dir ]]; then mv $public_dir/* wmops/; fi - if [[ -d $public_dir ]]; then - mv $public_dir/* wmops/ # check here if we have the split-by-levels files present - if not, fake them up with the existing global one # this is needed for the first run with split graphs on a branch where the global version did run previously # NOTE: checking only for level_1 file here as this should already be sufficient # NOTE2: also not chechking for RAM for same reason - wmops_all_global="${public_dir}/log_wmops_all.txt" - ram_all_global="${public_dir}/log_ram_all.txt" - if [ -f "${wmops_all_global}" ] && [ ! -f "${public_dir}/log_wmops_all_level_1.txt" ]; then - for suffix in "level_1 level_2 level_3 rate_sw"; do - cp ${wmops_all_global} ${public_dir}/log_wmops_all_{suffix}.txt - cp ${ram_all_global} ${public_dir}/log_ram_all_{suffix}.txt - done - fi - ls wmops - rm artifacts.zip - rm -rf $public_dir Loading @@ -1271,7 +1286,7 @@ voip-be-on-merge-request: &complexity-measurements-prepare-artifacts # prepare artifacts -> move to public directory - public_dir="$CI_JOB_NAME-public" - mkdir $public_dir - mv -f wmops/log_*_all.txt ./*.js ${public_dir}/ - mv -f wmops/log_*_all*.txt ./*.js ${public_dir}/ # move logfiles for links - mkdir $public_dir/logs # first move logs Loading Loading
.gitlab-ci.yml +17 −2 Original line number Diff line number Diff line Loading @@ -1253,8 +1253,23 @@ voip-be-on-merge-request: - unzip artifacts.zip || true # this may fail on first run, when there are no artifacts there and the zip file is actually just "404"-html - ls - public_dir="$CI_JOB_NAME-public" # if is needed to catch case when no artifact is there (first run), similarly as above - if [[ -d $public_dir ]]; then mv $public_dir/* wmops/; fi - if [[ -d $public_dir ]]; then - mv $public_dir/* wmops/ # check here if we have the split-by-levels files present - if not, fake them up with the existing global one # this is needed for the first run with split graphs on a branch where the global version did run previously # NOTE: checking only for level_1 file here as this should already be sufficient # NOTE2: also not chechking for RAM for same reason - wmops_all_global="${public_dir}/log_wmops_all.txt" - ram_all_global="${public_dir}/log_ram_all.txt" - if [ -f "${wmops_all_global}" ] && [ ! -f "${public_dir}/log_wmops_all_level_1.txt" ]; then - for suffix in "level_1 level_2 level_3 rate_sw"; do - cp ${wmops_all_global} ${public_dir}/log_wmops_all_{suffix}.txt - cp ${ram_all_global} ${public_dir}/log_ram_all_{suffix}.txt - done - fi - ls wmops - rm artifacts.zip - rm -rf $public_dir Loading @@ -1271,7 +1286,7 @@ voip-be-on-merge-request: &complexity-measurements-prepare-artifacts # prepare artifacts -> move to public directory - public_dir="$CI_JOB_NAME-public" - mkdir $public_dir - mv -f wmops/log_*_all.txt ./*.js ${public_dir}/ - mv -f wmops/log_*_all*.txt ./*.js ${public_dir}/ # move logfiles for links - mkdir $public_dir/logs # first move logs Loading