configuring Github API settings with casc is broken

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

XMLWordPrintable

      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:

            Assignee:
            Unassigned
            Reporter:
            fbartz
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: