Commit e97c323d authored by Jan Kiene's avatar Jan Kiene
Browse files

archive newsletter logs so they can be linked to on the page

parent 5f232ae3
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -939,6 +939,7 @@ coverage-test-on-main-scheduled:
  # 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
  - ls wmops
  - rm -rf wmops/logs/*
  - rm artifacts.zip
  - rm -rf $public_dir

@@ -947,6 +948,9 @@ coverage-test-on-main-scheduled:
  - public_dir="$CI_JOB_NAME-public"
  - mkdir $public_dir
  - mv -f wmops/log_*_all.txt wmops/*.js ${public_dir}/
  # move logfiles for links
  - mkdir $public_dir/logs
  - mv wmops/logs/wmops_newsletter_* $public_dir/logs/
  - cp ci/complexity_measurements/index_complexity.html ${public_dir}/index.html
  # patch the format in the title
  - sed -i "s/<title>IVAS FORMAT/<title>IVAS $in_format to $out_format/g" ${public_dir}/index.html