Skip to content

Commit

Permalink
add owner tag support for cucumber jvm7 (via #764)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirtal85 committed Aug 10, 2022
1 parent f7656be commit 66afe56
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class LabelBuilder {
private static final String ISSUE_LINK = "@ISSUE";
private static final String TMS_LINK = "@TMSLINK";
private static final String PLAIN_LINK = "@LINK";
private static final String OWNER = "@OWNER";

private final List<Label> scenarioLabels = new ArrayList<>();
private final List<Link> scenarioLinks = new ArrayList<>();
Expand Down Expand Up @@ -97,6 +98,9 @@ class LabelBuilder {
case PLAIN_LINK:
getScenarioLinks().add(ResultsUtils.createLink(null, tagValue, tagValue, null));
break;
case OWNER:
getScenarioLabels().add(ResultsUtils.createOwnerLabel(tagValue));
break;
default:
LOGGER.warn("Composite tag {} is not supported. adding it as RAW", tagKey);
getScenarioLabels().add(getTagLabel(tag));
Expand Down

0 comments on commit 66afe56

Please sign in to comment.