File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
src/test/java/chatbot/lib Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ image: maven:3.3-jdk-8
3
3
cache :
4
4
key : " $CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME"
5
5
paths :
6
- - .m2/
6
+ - $HOME/ .m2/
7
7
8
8
before_script :
9
9
- mkdir -p $HOME/.m2/
@@ -13,15 +13,15 @@ stages:
13
13
- build
14
14
- deploy
15
15
16
+ # install:
17
+ # stage: test
18
+ # script:
19
+ # - mvn clean install
20
+
16
21
unit_test :
17
22
stage : test
18
23
script :
19
- - mvn clean test -B
20
-
21
- # check_style:
22
- # stage: test
23
- # script:
24
- # - mvn clean checkstyle:check -B
24
+ - mvn clean test $ENV_TEST -Dtest=Runner
25
25
26
26
.build : &build_template
27
27
stage : build
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public class TestUtility {
23
23
24
24
private static String getProperty (String propertyName ) {
25
25
if (properties .size () == 0 ) {
26
- return systemProperties . get (propertyName );
26
+ return System . getProperty (propertyName );
27
27
}
28
28
else {
29
29
return properties .getProperty (propertyName );
You can’t perform that action at this time.
0 commit comments