@@ -24,6 +24,7 @@ def jobMatrix(String prefix, String type, List specs) {
2424 nodes[label] = {
2525 node(selector) {
2626 githubNotify(context : " ${ prefix} /${ label} " , description : ' Building ...' , status : ' PENDING' )
27+ def logpattern = ' build/Testing/Temporary/*.log'
2728 try {
2829 deleteDir()
2930 checkout scm
@@ -62,7 +63,6 @@ def jobMatrix(String prefix, String type, List specs) {
6263 sh " ./slurm-submit.sh \" FairRoot \$ {JOB_BASE_NAME} ${ label} \" ${ jobscript} "
6364 }
6465 if (check == " warnings" ) {
65- def logpattern = ' build/Testing/Temporary/*.log'
6666 discoverGitReferenceBuild()
6767 recordIssues(tools : [clangTidy(pattern : logpattern)],
6868 filters : [excludeFile(' build/.*/G__.*[.]cxx' )],
@@ -75,6 +75,9 @@ def jobMatrix(String prefix, String type, List specs) {
7575 deleteDir()
7676 githubNotify(context : " ${ prefix} /${ label} " , description : ' Success' , status : ' SUCCESS' )
7777 } catch (e) {
78+ if (check == " warnings" ) {
79+ archiveArtifacts(artifacts : logpattern, allowEmptyArchive : true , fingerprint : true )
80+ }
7881 deleteDir()
7982 githubNotify(context : " ${ prefix} /${ label} " , description : ' Error' , status : ' ERROR' )
8083 throw e
@@ -92,31 +95,30 @@ pipeline{
9295 steps{
9396 script {
9497 def builds = jobMatrix(' alfa-ci' , ' build' , [
95- [os : ' centos' , ver : ' 7' , arch : ' x86_64' , compiler : ' gcc-7' , fairsoft : ' nov20_patches' ],
96- [os : ' centos' , ver : ' 7' , arch : ' x86_64' , compiler : ' gcc-7' , fairsoft : ' nov20_patches_mt' ],
9798 [os : ' centos' , ver : ' 7' , arch : ' x86_64' , compiler : ' gcc-7' , fairsoft : ' apr21_patches' ],
9899 [os : ' centos' , ver : ' 7' , arch : ' x86_64' , compiler : ' gcc-7' , fairsoft : ' apr21_patches_mt' ],
99- [os : ' debian' , ver : ' 10' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' nov20_patches' ],
100- [os : ' debian' , ver : ' 10' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' nov20_patches_mt' ],
101100 [os : ' debian' , ver : ' 10' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr21_patches' ],
102101 [os : ' debian' , ver : ' 10' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr21_patches_mt' ],
102+ [os : ' debian' , ver : ' 11' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr21_patches' ],
103+ [os : ' debian' , ver : ' 11' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr21_patches_mt' ],
104+ [os : ' debian' , ver : ' 11' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr22_patches' ],
105+ [os : ' debian' , ver : ' 11' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr22_patches_mt' ],
103106 [os : ' ubuntu' , ver : ' 20.04' , arch : ' x86_64' , compiler : ' gcc-9' , fairsoft : ' apr21_patches' ],
104107 [os : ' ubuntu' , ver : ' 20.04' , arch : ' x86_64' , compiler : ' gcc-9' , fairsoft : ' apr21_patches_mt' ],
105108 [os : ' ubuntu' , ver : ' rolling' , arch : ' x86_64' , compiler : ' current' , fairsoft : ' dev' ,
106109 check : ' warnings' ,
107110 extra : ' -DUSE_CLANG_TIDY=ON -DBUILD_MBS=OFF' ],
108111 [os : ' fedora' , ver : ' 33' , arch : ' x86_64' , compiler : ' gcc-10' , fairsoft : ' apr21_patches' ],
109112 [os : ' fedora' , ver : ' 33' , arch : ' x86_64' , compiler : ' gcc-10' , fairsoft : ' apr21_patches_mt' ],
110- // [os: 'macos', ver: '10.15', arch: 'x86_64', compiler: 'apple-clang-11', fairsoft: '20.11'],
111- // [os: 'macos', ver: '11', arch: 'x86_64', compiler: 'apple-clang-12', fairsoft: '20.11'],
112- [os : ' macos' , ver : ' 12' , arch : ' x86_64' , compiler : ' apple-clang-13' , fairsoft : ' 21.4' ],
113- [os : ' macos' , ver : ' 11' , arch : ' x86_64' , compiler : ' apple-clang-13' , fairsoft : ' 21.4' ],
113+ [os : ' macos' , ver : ' 12' , arch : ' arm64' , compiler : ' apple-clang-13' , fairsoft : ' 22.4' ],
114+ [os : ' macos' , ver : ' 12' , arch : ' x86_64' , compiler : ' apple-clang-13' , fairsoft : ' 22.4' ],
115+ [os : ' macos' , ver : ' 11' , arch : ' x86_64' , compiler : ' apple-clang-13' , fairsoft : ' 22.4' ],
114116 ])
115117
116118 def checks = [:]
117119 if (env. CHANGE_ID != null ) { // only run checks for PRs
118120 checks = jobMatrix(' alfa-ci' , ' check' , [
119- [os : ' debian' , ver : ' 10' , arch : ' x86_64' , check : ' format' , fairsoft : ' nov20_patches ' ],
121+ [os : ' debian' , ver : ' 10' , arch : ' x86_64' , check : ' format' , fairsoft : ' apr21_patches ' ],
120122 ])
121123 }
122124
0 commit comments