Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read stdout_stderr.log from build steps to extract CMake / compiler warnings #477

Merged
merged 3 commits into from
Jun 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions job_templates/snippet/publisher_warnings_ng.xml.em
Original file line number Diff line number Diff line change
@@ -1,47 +1,49 @@
<io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng@@7.3.0">
<analysisTools>
@[for workspace in ['ws', 'work space']]@
<io.jenkins.plugins.analysis.warnings.Cmake>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@(workspace)/log/build_*/*/stdout_stderr.log</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Cmake>
@[if os_name in ['linux', 'linux-armhf', 'linux-aarch64', 'linux-centos']]@
@[ if os_name in ['linux', 'linux-armhf', 'linux-aarch64', 'linux-centos']]@
<io.jenkins.plugins.analysis.warnings.Gcc4>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@(workspace)/log/build_*/*/stdout_stderr.log</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Gcc4>
@[end if]
@[if os_name in ['osx', 'linux', 'linux-armhf', 'linux-aarch64', 'linux-centos']]@
@[ end if]
@[ if os_name in ['osx', 'linux', 'linux-armhf', 'linux-aarch64', 'linux-centos']]@
<io.jenkins.plugins.analysis.warnings.Clang>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@(workspace)/log/build_*/*/stdout_stderr.log</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Clang>
<io.jenkins.plugins.analysis.warnings.ClangTidy>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@(workspace)/log/build_*/*/stdout_stderr.log</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.ClangTidy>
@[elif os_name in ['windows', 'windows-metal']]@
@[ elif os_name in ['windows', 'windows-metal']]@
<io.jenkins.plugins.analysis.warnings.MsBuild>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@(workspace)/log/build_*/*/stdout_stderr.log</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.MsBuild>
@[else]@
@[ else]@
@{assert False, 'Unknown os_name: ' + os_name}@
@[end if]@
@[ end if]@
@[end for]@
</analysisTools>
<sourceCodeEncoding></sourceCodeEncoding>
<sourceDirectory></sourceDirectory>
Expand Down