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

Make git notifyCommit apiTokens configurable via JCasC

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      The GIT plugin by default requires a token for calling notifyCommit since plugin version 4.11.4.

      As there is no way to provide apiTokens via JCasC one has to either

      • disable the token requirement by setting the system property hudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL to either disabled-for-polling or disabled
      • manually create a token via "Configure Global Security"

      This prevents instances from being fully automatically provisioned via JCasC without sacrificing an additional level of security.

      It would be great if a list of apiTokens could be provided via JCasC.

            Unassigned Unassigned
            kjauch Kai Jauch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: