[JIRA] (JENKINS-59558) Hyperlink to result in project view not working

23 views
Skip to first unread message

K.Broselge@gmx.net (JIRA)

unread,
Sep 27, 2019, 6:04:02 AM9/27/19
to jenkinsc...@googlegroups.com
Kevin Broselge created an issue
 
Jenkins / Bug JENKINS-59558
Hyperlink to result in project view not working
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: image-2019-09-27-12-02-31-940.png
Components: warnings-ng-plugin
Created: 2019-09-27 10:03
Priority: Minor Minor
Reporter: Kevin Broselge

The hyperlinks to the warning results are not working -> see Screenshot

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

K.Broselge@gmx.net (JIRA)

unread,
Sep 27, 2019, 6:06:02 AM9/27/19
to jenkinsc...@googlegroups.com
Kevin Broselge updated an issue
Change By: Kevin Broselge
The hyperlinks to the warning results are not working -> see Screenshot ( left side gcc STM32F** Warnings )

!image-2019-09-27-12-02-31-940.png!

K.Broselge@gmx.net (JIRA)

unread,
Sep 27, 2019, 6:06:03 AM9/27/19
to jenkinsc...@googlegroups.com
Kevin Broselge updated an issue
Change By: Kevin Broselge
Environment: Jenkins ver. 2.176.2
plugin version: 6.0.4

ullrich.hafner@gmail.com (JIRA)

unread,
Sep 27, 2019, 8:26:02 AM9/27/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-59558
 
Re: Hyperlink to result in project view not working

What exactly is not working, can you please add some more details?

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 5:44:02 AM10/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner resolved as Incomplete
 
Change By: Ulli Hafner
Status: Open Resolved
Resolution: Incomplete

K.Broselge@gmx.net (JIRA)

unread,
Oct 23, 2019, 6:49:02 AM10/23/19
to jenkinsc...@googlegroups.com
Kevin Broselge updated an issue
Change By: Kevin Broselge
Attachment: image-2019-10-23-12-48-36-891.png

K.Broselge@gmx.net (JIRA)

unread,
Oct 23, 2019, 6:50:03 AM10/23/19
to jenkinsc...@googlegroups.com
Kevin Broselge commented on Bug JENKINS-59558
 
Re: Hyperlink to result in project view not working

Normally it's a hyperlink to e.g. this view:

 

but for now the only way to get to this page is clicking on the graph on the right side!

 

K.Broselge@gmx.net (JIRA)

unread,
Oct 23, 2019, 6:51:03 AM10/23/19
to jenkinsc...@googlegroups.com
Change By: Kevin Broselge
Resolution: Incomplete
Status: Resolved In Review

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 7:13:01 AM10/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner commented on Bug JENKINS-59558
 
Re: Hyperlink to result in project view not working

So the link on the left side (example gcc STM32F103 Warnings) does not work? Where does the link point to? And what should be the right URL?

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 7:14:02 AM10/23/19
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 7:14:02 AM10/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner stopped work on Bug JENKINS-59558
 
Change By: Ulli Hafner
Status: In Progress Open

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 7:15:03 AM10/23/19
to jenkinsc...@googlegroups.com
Ulli Hafner edited a comment on Bug JENKINS-59558
So the link on the left side (example gcc STM32F103 Warnings) does not work? Where does the link point to? And what should be the right URL?


It would really help to highlight which of the links does not work *and* what URL is resolved (and what URL is expected).

K.Broselge@gmx.net (JIRA)

unread,
Oct 23, 2019, 8:45:02 AM10/23/19
to jenkinsc...@googlegroups.com

So the link on the left side (example gcc STM32F103 Warnings) does not work? 

Yes

 Where does the link point to? 

There is no link

And what should be the right URL?

A link to the result view I assume

 

None of the "buttons" work.

I assume it has something to do with passing a special id to the tools. 

 

recordIssues tools: [ gcc(id: 'gcc STM32F103', name: 'gcc STM32F103', pattern: 'buildConsole.txt'),
                      cppCheck(id: 'cppcheck STM32F103', name: 'cppcheck STM32F103', pattern: 'cppcheck-result*.xml'),
                    ]

 

 

If not recorded with special id the button looks like 

 

<div class="task">
  <a href="/view/xxxx/cppcheck" class="task-icon-link">
    <img src="/static/bfc7a8a8/plugin/warnings-ng/icons/analysis-24x24.png" alt="" style="width: 24px; height: 24px; margin: 2px;">
  </a>
  &nbsp;
  <a href="/view/xxxx/cppcheck" class="task-link">
    CPPCheck Warnings
  </a>
</div>

but with id its generated as

 

 

<div class="task">
  <a class="task-icon-link">
    <img src="/static/bfc7a8a8/plugin/warnings-ng/icons/analysis-24x24.png" alt="" style="width: 24px; height: 24px; margin: 2px;">
  </a>
  &nbsp;
  <a class="task-link">
    cppcheck STM32F427 Warnings
  </a>
</div>

 

 

As you can see the complete reference (href) part is missing.

 

 

K.Broselge@gmx.net (JIRA)

unread,
Oct 23, 2019, 8:46:16 AM10/23/19
to jenkinsc...@googlegroups.com
Kevin Broselge edited a comment on Bug JENKINS-59558
{quote}So the link on the left side (example gcc STM32F103 Warnings) does not work? 
{quote}
Yes
{quote} Where does the link point to? 
{quote}
There is no link
{quote}And what should be the right URL?
{quote}

A link to the result view I assume

 

None of the "buttons" work.

I assume it has something to do with passing a special *id* to the tools on recordIssues call

 
{code:java}

recordIssues tools: [ gcc(id: 'gcc STM32F103', name: 'gcc STM32F103', pattern: 'buildConsole.txt'),
                      cppCheck(id: 'cppcheck STM32F103', name: 'cppcheck STM32F103', pattern: 'cppcheck-result*.xml'),
                    ]
{code}
 

 

If not recorded with special id the button looks like 

 
{code:java}

<div class="task">
  <a href="/view/xxxx/cppcheck" class="task-icon-link">
    <img src="/static/bfc7a8a8/plugin/warnings-ng/icons/analysis-24x24.png" alt="" style="width: 24px; height: 24px; margin: 2px;">
  </a>
  &nbsp;
  <a href="/view/xxxx/cppcheck" class="task-link">
    CPPCheck Warnings
  </a>
</div>
{code}

but with id its generated as

 

 
{code:java}

<div class="task">
  <a class="task-icon-link">
    <img src="/static/bfc7a8a8/plugin/warnings-ng/icons/analysis-24x24.png" alt="" style="width: 24px; height: 24px; margin: 2px;">
  </a>
  &nbsp;
  <a class="task-link">
    cppcheck STM32F427 Warnings
  </a>
</div>
{code}
 

 

As you can see the complete reference (href) part is missing.

 

 

ullrich.hafner@gmail.com (JIRA)

unread,
Oct 23, 2019, 9:43:03 AM10/23/19
to jenkinsc...@googlegroups.com

Can you check if it works if your are not using spaces in you ID? An ID must be a valid URL, which it is not in your case.

K.Broselge@gmx.net (JIRA)

unread,
Oct 24, 2019, 2:53:05 AM10/24/19
to jenkinsc...@googlegroups.com

Thats it! Now it's working as expected! Thanks a lot!

Reply all
Reply to author
Forward
0 new messages