Skip to content

Commit 19d18bb

Browse files
committed
handling report available in case of retry failure
1 parent 1e17a08 commit 19d18bb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/com/browserstack/automate/ci/jenkins/integrationService/BrowserStackTestReportAction.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ private void fetchReport() {
8181
Response response = requestsUtil.makeRequest(reportUrl, credentials, createRequestBody(params));
8282
handleResponse(response);
8383
} catch (Exception e) {
84-
handleFetchException(e);
84+
if(!isReportTestAvailable()) {
85+
handleFetchException(e);
86+
}
8587
}
8688
}
8789

src/main/resources/com/browserstack/automate/ci/jenkins/integrationService/BrowserStackTestReportAction/index.jelly

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@
9898
</j:if>
9999

100100
<j:if test="${(it.isReportAvailable())}">
101-
<j:if test="${(it.isReportTestAvailable())}" >
102-
<p class="no-report-para"><strong class="strong-font-custom">BrowserStack Build Test Report generation In Progress meanwhile these are the test listing...</strong></p>
103-
</j:if>
104101
<div>
105102
<j:out value="${it.getReportHtml()}"/>
106103
</div>

0 commit comments

Comments
 (0)