[JIRA] (OVIRT-1028) Configure experimental job with ANSI output - so it'd be easier to look at

eyal edri [Administrator] (oVirt JIRA) jira at ovirt-jira.atlassian.net
Sun Jan 15 12:18:33 UTC 2017


    [ https://ovirt-jira.atlassian.net/browse/OVIRT-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25713#comment-25713 ] 

eyal edri [Administrator] commented on OVIRT-1028:
--------------------------------------------------

Possible solution using the AnsiColor build wrapper:
https://jenkins.io/doc/pipeline/examples:

// This shows a simple build wrapper example, using the AnsiColorBuildWrapper plugin.
node {
    // This is the current syntax for invoking a build wrapper, naming the class.
    wrap([$class: 'AnsiColorBuildWrapper']) {
        // Just some echoes to show the ANSI color.
        stage "\u001B[31mI'm Red\u001B[0m Now not"
    }
}

> Configure experimental job with ANSI output - so it'd be easier to look at
> --------------------------------------------------------------------------
>
>                 Key: OVIRT-1028
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1028
>             Project: oVirt - virtualization made easy
>          Issue Type: Improvement
>            Reporter: Yaniv Kaul
>            Assignee: infra
>              Labels: jenkins
>
> O-S-T uses ANSI colors for easier output. For some reason, some jobs aren't configured with it.
> http://jenkins.ovirt.org/view/experimental%20jobs/job/test-repo_ovirt_experimental_master/4739/console
> is such an example.



--
This message was sent by Atlassian JIRA
(v1000.695.1#100025)


More information about the Infra mailing list