Browse Source

Add ansi color to jenkins pipeline

Shalom Yerushalmy 6 years ago
parent
commit
81cf39086c
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Jenkinsfile

+ 3
- 0
Jenkinsfile View File

@@ -1,3 +1,4 @@
1
+#!/usr/bin/env bash
1 2
 pipeline {
2 3
   agent any
3 4
   stages {
@@ -19,11 +20,13 @@ npm run test-js'''
19 20
         }
20 21
         stage('Run IOS tests') {
21 22
           steps {
23
+          ansiColor('xterm') {
22 24
             sh '''#!/bin/bash
23 25
 
24 26
 npm run test-unit-ios -- --release
25 27
 npm run test-e2e-ios -- --release'''
26 28
           }
29
+         }
27 30
         }
28 31
         stage('Run android tests') {
29 32
           steps {