|
@@ -5,7 +5,6 @@ pipeline {
|
5
|
5
|
steps {
|
6
|
6
|
ansiColor('xterm') {
|
7
|
7
|
sh '''#!/bin/bash -ex
|
8
|
|
- source ~/.bashrc
|
9
|
8
|
npm install
|
10
|
9
|
npm run clean'''
|
11
|
10
|
}
|
|
@@ -16,22 +15,19 @@ pipeline {
|
16
|
15
|
stage('Run test-js') {
|
17
|
16
|
steps {
|
18
|
17
|
sh '''#!/bin/bash
|
19
|
|
- source ~/.bashrc
|
20
|
18
|
npm run test-js'''
|
21
|
19
|
}
|
22
|
20
|
}
|
23
|
|
- stage('Run IOS tests') {
|
|
21
|
+ stage('Run iOS tests') {
|
24
|
22
|
steps {
|
25
|
23
|
sh '''#!/bin/bash
|
26
|
|
- source ~/.bashrc
|
27
|
24
|
npm run test-unit-ios -- --release
|
28
|
25
|
npm run test-e2e-ios -- --release'''
|
29
|
26
|
}
|
30
|
27
|
}
|
31
|
|
- stage('Run android tests') {
|
|
28
|
+ stage('Run Android tests') {
|
32
|
29
|
steps {
|
33
|
30
|
sh '''#!/bin/bash
|
34
|
|
- source ~/.bashrc
|
35
|
31
|
npm run test-unit-android -- --release
|
36
|
32
|
npm run test-e2e-android -- --release'''
|
37
|
33
|
}
|