File tree Expand file tree Collapse file tree 7 files changed +25
-3
lines changed Expand file tree Collapse file tree 7 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -176,5 +176,11 @@ jobs:
176
176
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
177
177
restore-keys : ${{ runner.os }}-m2
178
178
179
+ - name : Exclude Tests
180
+ env :
181
+ EXCLUDES : ${{ vars.EXCLUDED_TESTS }}
182
+ run : |
183
+ echo $EXCLUDES > excluded-tests.txt
184
+
179
185
- name : Build with Maven
180
- run : mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=http://eclwatch.default:8010 -Dwssqlconn=http://sql2ecl.default:8510 -DHPCC30117=open install
186
+ run : mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=http://eclwatch.default:8010 -Dwssqlconn=http://sql2ecl.default:8510 install
Original file line number Diff line number Diff line change @@ -143,5 +143,11 @@ jobs:
143
143
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
144
144
restore-keys : ${{ runner.os }}-m2
145
145
146
+ - name : Exclude Tests
147
+ env :
148
+ EXCLUDES : ${{ vars.EXCLUDED_TESTS }}
149
+ run : |
150
+ echo $EXCLUDES > excluded-tests.txt
151
+
146
152
- name : Build with Maven
147
- run : mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=https://eclwatch.default:8010 -Dwssqlconn=https://sql2ecl.default:8510 -DHPCC30117=open install
153
+ run : mvn -B --activate-profiles jenkins-on-demand -Dmaven.gpg.skip=true -Dmaven.javadoc.skip=true -Dmaven.test.failure.ignore=false -Dhpccconn=https://eclwatch.default:8010 -Dwssqlconn=https://sql2ecl.default:8510 install
Original file line number Diff line number Diff line change 27
27
<plugin >
28
28
<artifactId >maven-surefire-plugin</artifactId >
29
29
<version >${maven.surefire.version} </version >
30
+ <configuration >
31
+ <excludesFile >../excluded-tests.txt</excludesFile >
32
+ </configuration >
30
33
</plugin >
31
34
</plugins >
32
35
</build >
Original file line number Diff line number Diff line change 34
34
<value >org.hpccsystems.ws.client.TestResultNotifier</value >
35
35
</property >
36
36
</properties >
37
+ <excludesFile >../excluded-tests.txt</excludesFile >
37
38
</configuration >
38
39
</plugin >
39
40
<plugin >
Original file line number Diff line number Diff line change
1
+ # Placeholder for excluded tests
Original file line number Diff line number Diff line change 45
45
<maven .deploy.version>2.8.2</maven .deploy.version>
46
46
<maven .install.version>2.5.2</maven .install.version>
47
47
<maven .jar.version>3.0.2</maven .jar.version>
48
- <maven .surefire.version>2.22.1 </maven .surefire.version>
48
+ <maven .surefire.version>3.2.5 </maven .surefire.version>
49
49
<antlr .version>4.10.1</antlr .version>
50
50
<javax .mail.version>1.4</javax .mail.version>
51
51
<jsch .version>0.1.54</jsch .version>
213
213
<configuration >
214
214
<argLine >${argLine} </argLine >
215
215
<groups >${groups} </groups >
216
+ <excludesFile >excluded-tests.txt</excludesFile >
216
217
</configuration >
217
218
</plugin >
218
219
<plugin >
433
434
<configuration >
434
435
<argLine >${argLine} </argLine >
435
436
<groups >${groups} </groups >
437
+ <excludesFile >excluded-tests.txt</excludesFile >
436
438
</configuration >
437
439
</plugin >
438
440
</plugins >
485
487
<configuration >
486
488
<argLine >${argLine} </argLine >
487
489
<groups >${groups} </groups >
490
+ <excludesFile >excluded-tests.txt</excludesFile >
488
491
</configuration >
489
492
</plugin >
490
493
</plugins >
560
563
<configuration >
561
564
<argLine >${argLine} </argLine >
562
565
<groups >${groups} </groups >
566
+ <excludesFile >excluded-tests.txt</excludesFile >
563
567
</configuration >
564
568
</plugin >
565
569
</plugins >
Original file line number Diff line number Diff line change 88
88
<value >org.hpccsystems.ws.client.TestResultNotifier</value >
89
89
</property >
90
90
</properties >
91
+ <excludesFile >../excluded-tests.txt</excludesFile >
91
92
</configuration >
92
93
</plugin >
93
94
</plugins >
You can’t perform that action at this time.
0 commit comments