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

Commit a15a759

Browse files
author
Radislav Berkovich
committed
defect #868049 : Multibranch job with branch that contains '/' in name - test results are not reported and job can not be triggered from octane.
CodeClimate fixes
1 parent 11aab1a commit a15a759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microfocus/application/automation/tools/octane/CIJenkinsServicesImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ private Job getJobByRefId(String jobRefId) {
689689
if (item instanceof Job) {
690690
result = (Job) item;
691691
} else if (jobRefId.contains("/") && item == null) {
692-
String parentJobRefId = jobRefId.substring(0, jobRefId.indexOf("/"));
692+
String parentJobRefId = jobRefId.substring(0, jobRefId.indexOf('/'));
693693
item = getTopLevelItem(parentJobRefId);
694694
if (item != null) {
695695
Collection<? extends Job> allJobs = item.getAllJobs();

0 commit comments

Comments
 (0)