@@ -24,6 +24,7 @@ def jobMatrix(String prefix, String type, List specs) {
24
24
nodes[label] = {
25
25
node(selector) {
26
26
githubNotify(context : " ${ prefix} /${ label} " , description : ' Building ...' , status : ' PENDING' )
27
+ def logpattern = ' build/Testing/Temporary/*.log'
27
28
try {
28
29
deleteDir()
29
30
checkout scm
@@ -62,7 +63,6 @@ def jobMatrix(String prefix, String type, List specs) {
62
63
sh " ./slurm-submit.sh \" FairRoot \$ {JOB_BASE_NAME} ${ label} \" ${ jobscript} "
63
64
}
64
65
if (check == " warnings" ) {
65
- def logpattern = ' build/Testing/Temporary/*.log'
66
66
discoverGitReferenceBuild()
67
67
recordIssues(tools : [clangTidy(pattern : logpattern)],
68
68
filters : [excludeFile(' build/.*/G__.*[.]cxx' )],
@@ -75,6 +75,9 @@ def jobMatrix(String prefix, String type, List specs) {
75
75
deleteDir()
76
76
githubNotify(context : " ${ prefix} /${ label} " , description : ' Success' , status : ' SUCCESS' )
77
77
} catch (e) {
78
+ if (check == " warnings" ) {
79
+ archiveArtifacts(artifacts : logpattern, allowEmptyArchive : true , fingerprint : true )
80
+ }
78
81
deleteDir()
79
82
githubNotify(context : " ${ prefix} /${ label} " , description : ' Error' , status : ' ERROR' )
80
83
throw e
@@ -92,31 +95,30 @@ pipeline{
92
95
steps{
93
96
script {
94
97
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' ],
97
98
[os : ' centos' , ver : ' 7' , arch : ' x86_64' , compiler : ' gcc-7' , fairsoft : ' apr21_patches' ],
98
99
[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' ],
101
100
[os : ' debian' , ver : ' 10' , arch : ' x86_64' , compiler : ' gcc-8' , fairsoft : ' apr21_patches' ],
102
101
[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' ],
103
106
[os : ' ubuntu' , ver : ' 20.04' , arch : ' x86_64' , compiler : ' gcc-9' , fairsoft : ' apr21_patches' ],
104
107
[os : ' ubuntu' , ver : ' 20.04' , arch : ' x86_64' , compiler : ' gcc-9' , fairsoft : ' apr21_patches_mt' ],
105
108
[os : ' ubuntu' , ver : ' rolling' , arch : ' x86_64' , compiler : ' current' , fairsoft : ' dev' ,
106
109
check : ' warnings' ,
107
110
extra : ' -DUSE_CLANG_TIDY=ON -DBUILD_MBS=OFF' ],
108
111
[os : ' fedora' , ver : ' 33' , arch : ' x86_64' , compiler : ' gcc-10' , fairsoft : ' apr21_patches' ],
109
112
[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' ],
114
116
])
115
117
116
118
def checks = [:]
117
119
if (env. CHANGE_ID != null ) { // only run checks for PRs
118
120
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 ' ],
120
122
])
121
123
}
122
124
0 commit comments