[JIRA] (JENKINS-54783) Library additions to Global Variable Reference are not displayed formatted

1 view
Skip to first unread message

fnasser@redhat.com (JIRA)

unread,
Nov 22, 2018, 3:34:02 PM11/22/18
to jenkinsc...@googlegroups.com
Fernando Nasser created an issue
 
Jenkins / Bug JENKINS-54783
Library additions to Global Variable Reference are not displayed formatted
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2018-11-22 20:33
Priority: Minor Minor
Reporter: Fernando Nasser

vars/myStep.txt is included correctly (after a successful build) in the Global Variables Reference.

However, it doesn't matter if it has a MD format or a HTML format, it gets displayed as plain text, not rendered.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

fnasser@redhat.com (JIRA)

unread,
Nov 22, 2018, 4:11:02 PM11/22/18
to jenkinsc...@googlegroups.com
Fernando Nasser commented on Bug JENKINS-54783
 
Re: Library additions to Global Variable Reference are not displayed formatted

OK, this seems to be a documentation issue.

For HTML rendering this plugin must be installed: https://wiki.jenkins.io/pages/viewpage.action?pageId=71436291

If you want Markdown as well, this one: https://wiki.jenkins.io/display/JENKINS/PegDown+Formatter+Plugin#PegDownFormatterPlugin-install
(maybe needs to leave the option "suppress all HTML off)

Can someone add a note where the documentation talks about the global variables .txt files please?

Not sure how to change this issue to a "Documentation" one.

fnasser@redhat.com (JIRA)

unread,
Nov 22, 2018, 4:20:01 PM11/22/18
to jenkinsc...@googlegroups.com
Fernando Nasser edited a comment on Bug JENKINS-54783
OK, this seems to be a documentation issue.

For HTML rendering this plugin must be installed:   O WASP Markup Formatter Plugin ("Safe HTML" formatter)   https://wiki.jenkins.io/pages/viewpage.action?pageId=71436291


If you want Markdown as well, this one: https://wiki.jenkins.io/display/JENKINS/PegDown+Formatter+Plugin#PegDownFormatterPlugin-install
(maybe needs to leave the option "suppress all HTML off)

Can someone add a note where the documentation talks about the global variables .txt files please?

Not sure how to change this issue to a "Documentation" one.

fnasser@redhat.com (JIRA)

unread,
Nov 22, 2018, 4:21:01 PM11/22/18
to jenkinsc...@googlegroups.com
Fernando Nasser edited a comment on Bug JENKINS-54783
OK, this seems to be a documentation issue.

For HTML rendering this plugin must be installed:   O WASP   OWASP Markup Formatter Plugin ("Safe HTML" formatter)  https://wiki.jenkins.io/pages/viewpage.action?pageId=71436291


If you want Markdown as well, this one: https://wiki.jenkins.io/display/JENKINS/PegDown+Formatter+Plugin#PegDownFormatterPlugin-install
(maybe needs to leave the option "suppress all HTML off)

Can someone add a note where the documentation talks about the global variables .txt files please?

Not sure how to change this issue to a "Documentation" one.

vivek.pandey@gmail.com (JIRA)

unread,
Nov 26, 2018, 12:59:01 PM11/26/18
to jenkinsc...@googlegroups.com

vivek.pandey@gmail.com (JIRA)

unread,
Nov 26, 2018, 12:59:01 PM11/26/18
to jenkinsc...@googlegroups.com

r.fuereder@xortex.com (JIRA)

unread,
Mar 31, 2020, 8:43:02 AM3/31/20
to jenkinsc...@googlegroups.com
Reinhold Füreder commented on Bug JENKINS-54783
 
Re: Library additions to Global Variable Reference are not displayed formatted

In https://jenkins.io/doc/book/pipeline/shared-libraries/ "Directory structure":

The matching .txt, if present, can contain documentation, processed through the system’s configured markup formatter (so may really be HTML, Markdown, etc., though the .txt extension is required). This documentation will only be visible on the Global Variable Reference pages that are accessed from the navigation sidebar of Pipeline jobs that import the shared library. In addition, those jobs must run successfully once before the shared library documentation will be generated.

=> So it is not too bad anymore?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages