osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ci/+/26925
)
Change subject: jobs: explicitly enable ansi color wrapper
......................................................................
jobs: explicitly enable ansi color wrapper
For some reason (jenkins upgrade?), output is not colored anymore.
Explicitly enable the ansi color wrapper in the jjb configs, where we
have such colors in the output.
Change-Id: I2d3faaf608ae9d12573f5c0f740ff7ee4b33358e
---
M jobs/gerrit-lint.yml
M jobs/ttcn3-testsuites-kernel-git.yml
M jobs/ttcn3-testsuites.yml
A test-ci-lint
4 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/25/26925/1
diff --git a/jobs/gerrit-lint.yml b/jobs/gerrit-lint.yml
index 768df7d..b98a041 100644
--- a/jobs/gerrit-lint.yml
+++ b/jobs/gerrit-lint.yml
@@ -145,4 +145,8 @@
builders:
- shell: '{obj:cmd}'
+ wrappers:
+ - ansicolor:
+ colormap: xterm
+
# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/jobs/ttcn3-testsuites-kernel-git.yml b/jobs/ttcn3-testsuites-kernel-git.yml
index 1bc07d5..37f9170 100644
--- a/jobs/ttcn3-testsuites-kernel-git.yml
+++ b/jobs/ttcn3-testsuites-kernel-git.yml
@@ -125,5 +125,8 @@
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
+ wrappers:
+ - ansicolor:
+ colormap: xterm
# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index 8f59d82..172cfec 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -507,5 +507,8 @@
num-to-keep: 120
artifact-days-to-keep: -1
artifact-num-to-keep: -1
+ wrappers:
+ - ansicolor:
+ colormap: xterm
# vim: expandtab tabstop=2 shiftwidth=2
diff --git a/test-ci-lint b/test-ci-lint
new file mode 100644
index 0000000..7e96e53
--- /dev/null
+++ b/test-ci-lint
@@ -0,0 +1 @@
+File with typo to test if ansi color output from linter is displayed properly in jenkins
again: asssert
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/26925
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I2d3faaf608ae9d12573f5c0f740ff7ee4b33358e
Gerrit-Change-Number: 26925
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange