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

run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • BlueOcean 1.0.0-b25
      Jenkins 2.47

      Google Chrome 56.0.2924.87
      MacOS 10.12.1

      about.md is the about.md from the support bundle plugin.
    • 1.0

      Original request
      When clicking the "play/run" button on a job in the blueocean to build a particular branch, i get the following Javascript error in my developer console, and server logs don't have anything at all related to this job:
       

      blueocean.js:306 Uncaught (in promise) TypeError: Cannot read property 'self' of undefined
       at Object.createRunStartedToast (blueocean.js:306)
       at blueocean.js:3734
      createRunStartedToast @ blueocean.js:306
      (anonymous) @ blueocean.js:3734

       
      Notes

      • HAR file has been generated by reporter and is available from UX-619 on the CloudBees JIRA.

       

      The only reference to "self" in ToasUtils is: https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/ToastUtils.js#L28 - not sure why runInfo would have no _links... 

          [JENKINS-42559] run job button for parametrised job error -- createRunStartedToast: TypeError: Cannot read property 'self' of undefined

            Unassigned Unassigned
            chancez Chance Zibolski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: