[JIRA] (JENKINS-61593) Several Warnings-ng plugin tokens do not work

9 views
Skip to first unread message

edshen17@avenues.org (JIRA)

unread,
Mar 19, 2020, 4:16:04 PM3/19/20
to jenkinsc...@googlegroups.com
Edwin Shen created an issue
 
Jenkins / Bug JENKINS-61593
Several Warnings-ng plugin tokens do not work
Issue Type: Bug Bug
Assignee: Ulli Hafner
Attachments: image-2020-03-19-16-13-33-498.png
Components: warnings-ng-plugin
Created: 2020-03-19 20:15
Labels: plugin
Priority: Minor Minor
Reporter: Edwin Shen

It seems that TOTAL_NORMAL and TOTAL_LOW do not work. However, other tokens like NEW_HIGH, NEW_NORMAL, NEW_LOW,  TOTAL_HIGH do work.

Example of token not working below.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 22, 2020, 12:38:02 PM3/22/20
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
Labels: plugin testing-course

brackett.tc@gmail.com (JIRA)

unread,
Mar 31, 2020, 3:28:02 PM3/31/20
to jenkinsc...@googlegroups.com
Timothy Brackett commented on Bug JENKINS-61593
 
Re: Several Warnings-ng plugin tokens do not work

I just had some difficulty working with the Token Macro for Warnings Next Generation. Do you still have this issue, and can you show the actual configuration or pipeline code that you're using?

Also, can you try ${ANALYSIS_ISSUES_COUNT, type="TOTAL_LOW"} instead of ${ANALYSIS_ISSUES_COUNT, type: "TOTAL_LOW"}?

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 31, 2020, 4:50:03 PM3/31/20
to jenkinsc...@googlegroups.com

ullrich.hafner@gmail.com (JIRA)

unread,
Mar 31, 2020, 5:07:03 PM3/31/20
to jenkinsc...@googlegroups.com
Ulli Hafner resolved as Fixed
 

The documentation has been fixed now, see https://github.com/jenkinsci/warnings-ng-plugin/pull/434.

I also added a test case: https://github.com/jenkinsci/warnings-ng-plugin/pull/435.

Do you still have the problem when you use the correct IDs for the type?

Change By: Ulli Hafner
Status: Open Resolved
Resolution: Fixed

edshen17@avenues.org (JIRA)

unread,
Mar 31, 2020, 5:32:02 PM3/31/20
to jenkinsc...@googlegroups.com
Edwin Shen commented on Bug JENKINS-61593
 
Re: Several Warnings-ng plugin tokens do not work

It works now! Thank you. I can't believe it was just a typo from my end

Reply all
Reply to author
Forward
0 new messages