Skip to content

Commit

Permalink
[colcon] read stdout_stderr.log from build steps to extract CMake / c…
Browse files Browse the repository at this point in the history
…ompiler warnings (#812)
  • Loading branch information
dirk-thomas authored Jun 17, 2020
1 parent 13efdf6 commit 68186b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ros_buildfarm/templates/ci/ci_job.xml.em
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ parameters = [
<publishers>
@(SNIPPET(
'publisher_warnings',
build_tool=build_tool,
unstable_threshold='',
))@
@(SNIPPET(
Expand Down
1 change: 1 addition & 0 deletions ros_buildfarm/templates/devel/devel_job.xml.em
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ if pull_request:
<publishers>
@(SNIPPET(
'publisher_warnings',
build_tool=build_tool,
unstable_threshold=1 if notify_compiler_warnings else '',
))@
@[if xunit_publisher_types]@
Expand Down
4 changes: 2 additions & 2 deletions ros_buildfarm/templates/snippet/publisher_warnings.xml.em
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<io.jenkins.plugins.analysis.warnings.Cmake>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@[if build_tool == 'colcon']ws/log/build_*/*/stdout_stderr.log@[end if]</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Cmake>
<io.jenkins.plugins.analysis.warnings.Gcc4>
<id></id>
<name></name>
<pattern></pattern>
<pattern>@[if build_tool == 'colcon']ws/log/build_*/*/stdout_stderr.log@[end if]</pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Gcc4>
Expand Down

0 comments on commit 68186b0

Please sign in to comment.