From 837def9a685ef1d3b8904803cc585f8240bd2f5f Mon Sep 17 00:00:00 2001 From: Jan Moringen Date: Tue, 21 May 2019 09:57:58 +0200 Subject: [PATCH] Support ansicolor plugin in lib/jenkins.api/src/api/model/job-build-wrapper.lisp * lib/jenkins.api/src/api/classes.lisp (define-interface-implementations build-wrapper): added ansi-color implementation * lib/jenkins.api/src/api/package.lisp (package jenkins.api): added exported symbols build-wrapper/ansi-color --- lib/jenkins.api/src/api/model/job-build-wrapper.lisp | 9 +++++++-- lib/jenkins.api/src/api/package.lisp | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/jenkins.api/src/api/model/job-build-wrapper.lisp b/lib/jenkins.api/src/api/model/job-build-wrapper.lisp index db221523..3a39e971 100644 --- a/lib/jenkins.api/src/api/model/job-build-wrapper.lisp +++ b/lib/jenkins.api/src/api/model/job-build-wrapper.lisp @@ -32,6 +32,11 @@ ((timestamper "hudson.plugins.timestamper.TimestamperBuildWrapper" :plugin "timestamper@1.9") - ())) - + ()) + ((ansi-color "hudson.plugins.ansicolor.AnsiColorBuildWrapper" + :plugin "ansicolor@0.6.2") + ((color-map :type string + :xpath "colorMapName/text()" + :initform "xterm")) + (:name-slot color-map))) diff --git a/lib/jenkins.api/src/api/package.lisp b/lib/jenkins.api/src/api/package.lisp index 4fb4222a..9cbf397c 100644 --- a/lib/jenkins.api/src/api/package.lisp +++ b/lib/jenkins.api/src/api/package.lisp @@ -167,7 +167,10 @@ #:build-wrapper/sonar - #:build-wrapper/timestamper) + #:build-wrapper/timestamper + + #:build-wrapper/ansi-color + #:color-map) ;; Builder interface (:export