Skip to content
Snippets Groups Projects
Commit c386018a authored by Lars Bilke's avatar Lars Bilke Committed by Dmitri Naumov
Browse files

[Jenkins] New warnings publisher syntax.

parent 42f4a382
No related branches found
No related tags found
No related merge requests found
...@@ -91,6 +91,9 @@ pipeline { ...@@ -91,6 +91,9 @@ pipeline {
build { target="tests" } build { target="tests" }
build { target="ctest" } build { target="ctest" }
build { target="doc" } build { target="doc" }
// TODO: .*DOT_GRAPH_MAX_NODES.
// .*potential recursive class relation.*
recordIssues tools: [[pattern: 'build/DoxygenWarnings.log', tool: [$class: 'Doxygen']]], unstableTotalAll: 0
dir('build/docs') { stash(name: 'doxygen') } dir('build/docs') { stash(name: 'doxygen') }
publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: true, publishHTML(target: [allowMissing: false, alwaysLinkToLastBuild: true,
keepAll: true, reportDir: 'build/docs', reportFiles: 'index.html', keepAll: true, reportDir: 'build/docs', reportFiles: 'index.html',
...@@ -112,18 +115,13 @@ pipeline { ...@@ -112,18 +115,13 @@ pipeline {
post { post {
always { always {
publishReports { } publishReports { }
recordIssues enabledForFailure: true, filters: [
excludeFile('.*qrc_icons\\.cpp.*'), excludeFile('.*QVTKWidget.*')],
tools: [[name: 'GCC', tool: [$class: 'GnuMakeGcc']]]
} }
success { success {
dir('build/docs') { stash(name: 'doxygen') } dir('build/docs') { stash(name: 'doxygen') }
script { archiveArtifacts 'build/*.tar.gz,build/conaninfo.txt'
step([$class: 'WarningsPublisher', canResolveRelativePaths: false,
messagesPattern: """
.*DOT_GRAPH_MAX_NODES.
.*potential recursive class relation.*""",
parserConfigurations: [[parserName: 'Doxygen', pattern:
'build/DoxygenWarnings.log']], unstableTotalAll: '0'])
archiveArtifacts 'build/*.tar.gz,build/conaninfo.txt'
}
} }
} }
} }
...@@ -263,10 +261,11 @@ pipeline { ...@@ -263,10 +261,11 @@ pipeline {
post { post {
always { always {
publishReports { } publishReports { }
warnings(canResolveRelativePaths: false, // messagesPattern: '.*QVTK.*'
consoleParsers: [[parserName: 'MSBuild']], recordIssues enabledForFailure: true, filters: [
excludePattern: '.*\\.conan.*', excludeFile('.*\\.conan.*'), excludeFile('.*ThirdParty.*'),
messagesPattern: '.*QVTK.*') excludeFile('.*thread.hpp')],
tools: [[name: 'MSVC', tool: [$class: 'MsBuild']]]
} }
success { success {
archiveArtifacts 'build/*.zip,build/conaninfo.txt' archiveArtifacts 'build/*.zip,build/conaninfo.txt'
...@@ -477,8 +476,7 @@ pipeline { ...@@ -477,8 +476,7 @@ pipeline {
} }
post { post {
always { always {
warnings(canResolveRelativePaths: false, recordIssues enabledForFailure: true, tools: [[tool: [$class: 'Clang']]]
consoleParsers: [[parserName: 'Clang (LLVM based)']])
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment