Skip to content

Commit

Permalink
remove prefix from splitNN test classes
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Oct 27, 2020
1 parent c9b171d commit fc92e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/hu/rxd/toolbox/jenkins/TestEntries.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ public TestEntries limit(int max) {
public String getSimpleMavenTestPattern() {
List<String> labels = new LinkedList<>();
for (TestEntry testEntry : entries) {
labels.add(testEntry.getLabel());
String label = testEntry.getLabel();
label = label.replaceAll(".*\\.hive\\.cli\\.split[0-9]+\\.", "");
labels.add(label);
}
return Joiner.on(",").join(labels);
}
Expand Down

0 comments on commit fc92e97

Please sign in to comment.