-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
Jenkins ver. 2.190.3; list of plugins attached; java.vendor AdoptOpenJDK; java.runtime.version 11.0.5+10; sun.management.compiler HotSpot 64-Bit Tiered Compilers; OS Win7x64pro
Hallo,
The documentation of the attribute 'name' shows:
name (optional)
You can override the display name of the tool. This name is used in
details views, trend captions, and hyper links. If you leave the name
field empty, then the built-in default name of the registered tool will
be used.
But as you can see within the attached Untitled.png, this is not working. The Jenkins script used is:
recordIssues(
id: 'Build_Binary',
name: 'Build Binary',
sourceCodeEncoding: 'UTF-8',
enabledForFailure: true,
aggregatingResults: true,
tools:
[
groovyScript(
id: 'Build_Binary_SubProj1',
name: 'Build Binary SubProj1',
parserId: 'myParser',
pattern:'Outputs
SubProj1Build.log',
reportEncoding:'UTF-8'
),
groovyScript(
id: 'Build_Binary_SubProj2',
name: 'Build Binary SubProj2',
parserId: 'myParser',
pattern:'Outputs
SubProj2Build.log',
reportEncoding:'UTF-8'
),
groovyScript(
id: 'Build_Binary_SubProj3',
name: 'Build Binary SubProj3',
parserId: 'myParser',
pattern:'Outputs
SubProj3Build.log',
reportEncoding:'UTF-8'
),
groovyScript(
id: 'Build_Binary_SubProj4',
name: 'Build Binary SubProj4',
parserId: 'myParser',
pattern:'Outputs
SubProj4Build.log',
reportEncoding:'UTF-8'
)
)
]
)
On addition to this,
when you follow the link to one of those "static analysis", the tool id is used has a headline instead of the provided tool 'name'. Please fere to Untideld2.png.
Thank you for your time.
- duplicates
-
JENKINS-57638 Custom ids/names not shown in origin when aggregating the report
- Resolved