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

[dingding-notifications] Extract inline event handler in io/jenkins/plugins/DingTalkRobotConfig/config.jelly

XMLWordPrintable

      Problem

      == Inline Event Handler
      Line: 47
      ----
      <input
              type="button"
              value="测试"
              class="robot-config-validate-btn"
              data-validate-button-descriptor-url="${descriptor.descriptorFullUrl}"
              data-validate-button-method="test"
              data-validate-button-with="${with}"
              onclick="validateRobotConfig(this)"
            />
      ----
      

      Solution

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

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: