File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
TestResultSummaryService/parsers Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,16 @@ class ParentBuild extends Parser {
3131 }
3232 regexBuilds . lastIndex = 0 ;
3333 let allBuilds = [ ] ;
34+ // For example:
35+ // Starting building: Test_openjdk11_j9_sanity.functional_x86-64_linux_testList_3 #54
36+ // Starting building: EBC » EBC_Complete #1127
37+ // Starting building: build-scripts » jobs » jdk11u » jdk11u-aix-ppc64-openj9 #1212
3438 while ( ( m = regexBuilds . exec ( output ) ) !== null ) {
3539 allBuilds = m [ 3 ] . split ( ' » ' ) ;
3640 const buildName = allBuilds [ allBuilds . length - 1 ] ;
3741 allBuilds . pop ( ) ;
3842 let url = allBuilds . join ( '/job/' ) ;
39- if ( allBuilds . length > 1 && url . length > 0 ) {
43+ if ( allBuilds . length > 0 && url . length > 0 ) {
4044 url = '/job/' + url ;
4145 }
4246 const buildNameStr = m [ 1 ] ? m [ 1 ] : buildName ;
You can’t perform that action at this time.
0 commit comments