summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2018-04-14 16:38:48 +0200
committerPatric Stout <truebrain@openttd.org>2018-04-14 20:19:59 +0200
commita5382d8dd8e00a67e79f498b608cda7fd3c33654 (patch)
tree76fea472d98e242607f262574cf6d674e19f0e3f /Jenkinsfile
parentaf4b52aff6d7a70374df5ac857fb7661fb29dcfc (diff)
downloadopenttd-a5382d8dd8e00a67e79f498b608cda7fd3c33654.tar.xz
Add: [Jenkinsfile] enable ANSI colors in logs
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile24
1 files changed, 13 insertions, 11 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 3d27d513c..0717b286c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -40,21 +40,23 @@ def generateCI(display_name, image_name) {
}
node {
- stage("Checkout") {
- checkout scm
+ ansiColor('xterm') {
+ stage("Checkout") {
+ checkout scm
- // Ensure we also have origin/master available
- sh "git fetch --no-tags origin master:refs/remotes/origin/master"
+ // Ensure we also have origin/master available
+ sh "git fetch --no-tags origin master:refs/remotes/origin/master"
- stash name: "source", useDefaultExcludes: false
- }
+ stash name: "source", useDefaultExcludes: false
+ }
- stage("Checkers") {
- parallel ci_checkers_stages
- }
+ stage("Checkers") {
+ parallel ci_checkers_stages
+ }
- stage("Builds") {
- parallel ci_builds_stages
+ stage("Builds") {
+ parallel ci_builds_stages
+ }
}
}