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