Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59291

Blue Ocean fails to load when use SSE GateWay 1.20

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: sse-gateway-plugin
    • Labels:
      None
    • Environment:
      Jenkins2.176.2
      sse-gateway-plugin1.20
      IE 11
    • Similar Issues:

      Description

      I update sse gateway plugin to 1.20 because of JENKINS-58684 ,but can not use blueocean in IE 11,just like JENKINS-41664

        Attachments

          Activity

          Hide
          sorenfriis Søren Friis added a comment -

          Seeing same issue here - Blue Ocean shows a white screen on Ms Edge

          blueocean 1.19.0
          sse-gateway 1.20

          Show
          sorenfriis Søren Friis added a comment - Seeing same issue here - Blue Ocean shows a white screen on Ms Edge blueocean 1.19.0 sse-gateway 1.20
          Hide
          ningzhangnj Ning Zhang added a comment - - edited

          This issue is reproduced :

          MS edge:

          Microsoft Edge 41.16299.1480.0

          Microsoft EdgeHTML 16.16299

          BlueOcean:
          1.21.0 · Core 2.190.1 

          SSE Gateway:

          1.20

          Show
          ningzhangnj Ning Zhang added a comment - - edited This issue is reproduced : MS edge: Microsoft Edge 41.16299.1480.0 Microsoft EdgeHTML 16.16299 BlueOcean: 1.21.0 · Core 2.190.1  SSE Gateway: 1.20
          Hide
          olamy Olivier Lamy added a comment -

          found the culprit in building see-gateway

          the file in the source tree is a link

          ls -lrt src/main/resources/org/jenkinsci/plugins/ssegateway/sse/EventSource.js lrwxr-xr-x 1 olamy staff 77 13 Feb 19:45 src/main/resources/org/jenkinsci/plugins/ssegateway/sse/EventSource.js -> ../../../../../../../../node_modules/event-source-polyfill/eventsource.min.jsdifferent result

          there is a difference when copying resources in 2.7 and >=3.0.0

          maven-resources-plugin:2.7:resources

          ls -lrt target/classes/org/jenkinsci/plugins/ssegateway/sse/

          rw-r-r- 1 olamy staff 5226 13 Feb 21:04 target/classes/org/jenkinsci/plugins/ssegateway/sse/EventSource.js

           

          maven-resources-plugin:3.1.0:resources

          ls -lrt target/classes/org/jenkinsci/plugins/ssegateway/sse/total 0lrwxr-xr-x 1 olamy staff 77 13 Feb 21:01 EventSource.js -> ../../../../../../../../node_modules/event-source-polyfill/eventsource.min.js

           

          with 2.7 version of the plugin the file is copied as a file and not as a link as done by version >=3.0.0

          Show
          olamy Olivier Lamy added a comment - found the culprit in building see-gateway the file in the source tree is a link ls -lrt src/main/resources/org/jenkinsci/plugins/ssegateway/sse/EventSource.js lrwxr-xr-x 1 olamy staff 77 13 Feb 19:45 src/main/resources/org/jenkinsci/plugins/ssegateway/sse/EventSource.js -> ../../../../../../../../node_modules/event-source-polyfill/eventsource.min.jsdifferent result there is a difference when copying resources in 2.7 and >=3.0.0 maven-resources-plugin:2.7:resources ls -lrt target/classes/org/jenkinsci/plugins/ssegateway/sse/ rw-r- r - 1 olamy staff 5226 13 Feb 21:04 target/classes/org/jenkinsci/plugins/ssegateway/sse/EventSource.js   maven-resources-plugin:3.1.0:resources ls -lrt target/classes/org/jenkinsci/plugins/ssegateway/sse/total 0lrwxr-xr-x 1 olamy staff 77 13 Feb 21:01 EventSource.js -> ../../../../../../../../node_modules/event-source-polyfill/eventsource.min.js   with 2.7 version of the plugin the file is copied as a file and not as a link as done by version >=3.0.0
          Show
          bitwiseman Liam Newman added a comment - Is it https://issues.apache.org/jira/browse/MRESOURCES-237?
          Hide
          olamy Olivier Lamy added a comment -
          Show
          olamy Olivier Lamy added a comment - Liam Newman yes ps ready for review  https://github.com/jenkinsci/sse-gateway-plugin/pull/46
          Hide
          olamy Olivier Lamy added a comment -

          sse-gateway plugin 1.21 released.

          Show
          olamy Olivier Lamy added a comment - sse-gateway plugin 1.21 released.

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              saberyue saberyue saberyue
            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: