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

UpdateSiteWarningsConfiguration should be confirgurable via JCasC

XMLWordPrintable

    • 2.333

      By using JCasC I have the plugins versions under my control.

      So I don't want to disable the security warnings manually every time I create/configure a new Jenkins instance via JCasC.
      It should be possible to configure it via JCasC.

      The JCasC configuration could be look like this:

      security:
        updateSiteWarningsConfiguration:
          ignoredWarnings:
            - 'SECURITY-248'
      

      First try to patch UpdateSiteWarningsConfiguration (using @DataBoundSetter see [JCasC Requirements - guide for plugin maintainers](https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/REQUIREMENTS.md) ) has failed.
      So any hint would be welcome.

            timja Tim Jacomb
            uhanisch Uwe Hanisch
            Votes:
            13 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: