[git] onclick usage ApiTokenPropertyConfiguration/config.jelly

XMLWordPrintable

      Level easy
      Skills a bit of JavaScript, a bit of Jelly

      Culprit:

      Reproduction steps:

      • Install Git or clone https://github.com/jenkinsci/git-plugin and then mvn hpi:run
      • Go to Manage Jenkins
      • Go to Configure Global Security
      • In the "Git plugin notifyCommit access tokens" section, add a new access token
      • Click on Generate (Culprit - 2)
      • Culprit - 3 is the Revoke button
      • Refresh
      • The new Revoke button is the Culprit - 1

      Screenshot attached about where the feature is displayed.

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

      Testing notes

      • Ensure to reproduce the feature before any change
      • Ensure that you reproduce the feature after you have made the change

        1. Culprit1.png
          Culprit1.png
          13 kB
        2. Culprit2.png
          Culprit2.png
          16 kB
        3. Culprit3.png
          Culprit3.png
          17 kB

            Assignee:
            Antoine Neveux
            Reporter:
            Kevin Guerroudj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: