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

configuring Github API settings with casc is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Jenkins 2.235.3
      GitHub Branch Source Plugin 2.9.0
      Configuration as Code Plugin 1.43
    • Similar Issues:

      Description

      setting the apiRateLimitChecker in the Github API Configuration via config-as-code results in a broken GUI setting in the Jenkins global config (see screenshot below)

       

      gitHubConfiguration:
       apiRateLimitChecker: ThrottleOnOver
       ...
      

       

      basically you can only set those values with casc:

      • ThrottleForNormalize
      • ThrottleOnOver
      • NoThrottle

      as this is exposed as enum value ... so all other values are blocked anyway. So the casc part seems to be correct, but as soon as it is deployed with any of those values, the GUI setting gets broken. You cannot change the value anymore there, as the list only contains the one selected value (untranslated).

      screenshots of broken UI after rolling out with config-as-code:

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            frank_bartz fbartz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: