Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit f70394d

Browse files
committed
Fixed issue 292
1 parent 6e3869c commit f70394d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/com/mathworks/ci/BuildTargetNote.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public BuildTargetNote() {
2222
public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos) {
2323
MarkupText.SubText t = text.findToken(Pattern.compile("MATLAB-Build-"));
2424
String taskName = text.subText(13, text.length()-2).getText();
25+
taskName = taskName.replace("]","").trim();
2526
if (t != null)
2627
t.addMarkup(0, t.length()-1, "<a id= matlab" + taskName + " name=matlab" + taskName + ">", "</a>");
2728
return null;

src/main/resources/com/mathworks/ci/BuildArtifactAction/index.jelly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@
5959
<j:forEach var="p" items="${it.buildArtifact}" varStatus="status">
6060
<tr>
6161
<td class="pane" align="left">
62-
<a href="../console#matlab-${p.taskName}]">${p.taskName}</a>
62+
<a href="../console#matlab-${p.taskName}">${p.taskName}</a>
6363
</td>
6464
<td class="pane" style="width:9em">
6565
<span class="${pst.cssClass}">
6666
<j:if test="${p.taskFailed != false}">
67-
<a href="../console#matlab-${p.taskName}]"><font color="#EF2929"> FAILED </font> </a>
67+
<a href="../console#matlab-${p.taskName}"><font color="#EF2929"> FAILED </font> </a>
6868
</j:if>
6969
<j:if test="${p.taskFailed == false}">
7070
<j:if test="${p.taskSkipped == false}">

0 commit comments

Comments
 (0)