Adapt to new API

2 jobs for master in 66 minutes and 23 seconds (queued for 47 minutes and 40 seconds)
Status Job ID Name Coverage
  Build
failed #51689
build_clazy_clang_tidy

00:28:20

passed #51688
linux kf5-qt5 qt5.12

00:38:03

42.0%
 
Name Stage Failure
failed
build_clazy_clang_tidy Build
make[2]: *** [resources/imap/autotests/CMakeFiles/testaddcollectiontask.dir/build.make:166: bin/testaddcollectiontask] Error 1
make[1]: *** [CMakeFiles/Makefile2:3642: resources/imap/autotests/CMakeFiles/testaddcollectiontask.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
Running after_script
Uploading artifacts for failed job
Uploading artifacts...
WARNING: JUnitTestResults.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1