Skip to content

Commit

Permalink
Fix recordIssues syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
serban-nicusor-toptal committed Feb 27, 2024
1 parent d0d88d5 commit 348716b
Showing 1 changed file with 26 additions and 24 deletions.
50 changes: 26 additions & 24 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,17 @@ pipeline {
}
post {
always {

recordIssues id: "lint_doc_checks",
name: "Linting & Doc checks",
enabledForFailure: true,
aggregatingResults : true,
tools: [
cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT")
],
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH',

recordIssues(
id: "lint_doc_checks",
name: "Linting & Doc checks",
enabledForFailure: true,
aggregatingResults : true,
tools: [
cppLint(id: "cpplint", name: "Linting & Doc checks@CPPLINT")
],
qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH'
)
deleteDir()
}
}
Expand Down Expand Up @@ -496,19 +496,21 @@ pipeline {
post {
always {
node("linux") {
recordIssues id: "pipeline",
name: "Entire pipeline results",
enabledForFailure: true,
aggregatingResults : false,
filters: [
excludeFile('lib/.*')
],
tools: [
gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"),
clang(id: "pipeline_clang", name: "LLVM/Clang")
],
qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH'
recordIssues(
id: "pipeline",
name: "Entire pipeline results",
enabledForFailure: true,
aggregatingResults : false,
filters: [
excludeFile('lib/.*')
],
tools: [
gcc4(id: "pipeline_gcc4", name: "GNU C Compiler"),
clang(id: "pipeline_clang", name: "LLVM/Clang")
],
qualityGates: [[threshold: 30, type: 'TOTAL', unstable: true]],
healthy: 10, unhealthy: 100, minimumSeverity: 'HIGH'
)
}
}
success {
Expand Down

0 comments on commit 348716b

Please sign in to comment.