[JIRA] (JENKINS-60270) Warnings-NG: recordIssue attribute 'name' probalby ignored

2 views
Skip to first unread message

uwe.brackenhoff@preh.de (JIRA)

unread,
Nov 25, 2019, 11:09:02 AM11/25/19
to jenkinsc...@googlegroups.com
Uwe Brackenhoff created an issue
 
Jenkins / Bug JENKINS-60270
Warnings-NG: recordIssue attribute 'name' probalby ignored
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: active.txt, Untitled.png, Untitled2.png
Components: warnings-ng-plugin
Created: 2019-11-25 16:08
Environment: 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
Priority: Minor Minor
Reporter: Uwe Brackenhoff

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages