[pull-request-monitoring] Extract inline event handlers in io/jenkins/plugins/monitoring/MonitoringMultibranchProjectAction/index.jelly

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 71
      ----
      <button onclick="location.href='${rootURL}/${job.getLastBuild().getUrl()}${it.getUrlName()}'"
                                                  type="button" class="btn btn-outline-primary">
      ----
      
      == Inline Event Handler
      Line: 74
      ----
      <button onclick="location.href='${objectMetadata.isPresent() ? objectMetadata.get().getObjectUrl() : '#'}'"
                                                  type="button" class="btn btn-outline-success">
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Assignee:
            Unassigned
            Reporter:
            Basil Crow
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: