[JIRA] (JENKINS-59245) Create "Saltstack view" for displaying Saltstack Console output

10 views
Skip to first unread message

hhl@asseco.dk (JIRA)

unread,
Sep 5, 2019, 8:48:01 AM9/5/19
to jenkinsc...@googlegroups.com
Henrik Helmø Larsen created an issue
 
Jenkins / Improvement JENKINS-59245
Create "Saltstack view" for displaying Saltstack Console output
Issue Type: Improvement Improvement
Assignee: Tzach Solomon
Attachments: image-2019-09-05-14-35-38-437.png, image-2019-09-05-14-39-53-699.png, image-2019-09-05-14-43-49-902.png, image-2019-09-05-14-47-15-056.png
Components: console-log-text-replacer-plugin
Created: 2019-09-05 12:47
Priority: Minor Minor
Reporter: Henrik Helmø Larsen

After starting to use Jenkins with our Saltstack project it is really difficult to see in which states an error has occurred in a failed build. It would be nice if all Successful states would be colored green and all failed states would be colored red.

Since this is a JSON return it would also be nice to have all succeeded states collapsed and failed states open - this would allow the user to quickly locate the error.

This is an example of Jenkins output:

This is an example of SaltStack output:

It would be nice with the "Saltstack view" below the current "View as plain text":

 

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

tzach.solomon@gmail.com (JIRA)

unread,
Sep 9, 2019, 2:46:02 AM9/9/19
to jenkinsc...@googlegroups.com

hhl@asseco.dk (JIRA)

unread,
Sep 9, 2019, 2:50:02 AM9/9/19
to jenkinsc...@googlegroups.com

Hi Tzach Solomon - I don't think so. If a plugin already exists for Jenkins please point me in the correct direction. My suggestion was for you to develop a plugin (or feature) to do the above.

We are using Jenkins in combination with Saltstack - but the output from Jenkins is not very readable. It would be nice if Jenkins could "display" the result in a more readable manner...

tzach.solomon@gmail.com (JIRA)

unread,
Oct 19, 2019, 1:49:03 PM10/19/19
to jenkinsc...@googlegroups.com

Henrik Helmø Larsen,

First, sorry it took me a long time to respond.

Second, you can combile Ansi Color plugin (https://wiki.jenkins.io/display/JENKINS/AnsiColor+Plugin) with my plugin and change the color of the text you want.

For example, the following configuration file will change all entries with "result": "true" to green text

 {
        "entries": [
                {
                        "text": "\"result\": \"true\"",
                        "replaceto": "\u001b[32m\"result\": \"true\"\u001b[30m"
                }

        ]
}

 

 

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

hhl@asseco.dk (JIRA)

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

Thank you for your response. I will give Ansi Color plugin a try. When you refer to "...my plugin..." above - which plugin is that?

tzach.solomon@gmail.com (JIRA)

unread,
Oct 21, 2019, 1:24:04 PM10/21/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages