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

JS error when AuthorizationMatrixNodeProperty used within a Cloud agent template

XMLWordPrintable

    • matrix-auth-2.5

      this happens with docker-plugin, see https://github.com/jenkinsci/docker-plugin/issues/546

      AuthorizationMatrixNodeProperty is proposed by docker-plugin as an optional NodeProperty to slave template (like other available NodeProperties).

      The [Add Cloud] button do render html server side and invoke scripts before the DOM elements are actually added to the document. As a result document.getElementById return null and later invocation fail with `{{ Cannot read property 'parentNode' of null}}`. As a result the Add button has no effect and UI is blocked.

       

            Unassigned Unassigned
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: