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

Provide global configuration of settings

    XMLWordPrintable

Details

    Description

      My actual requirements are pretty simple:

      • All jobs on Continuous Integration can be easily configured to use the same trending settings
      • All jobs on Public Dashboard can be easily configured to use the same trending settings (we use the build-publisher plugin to push some of our jobs from CI to the dashboard)
      • Make this possible for PMD and my own custom (AppScan) subclass of the hudson.plugins.analysis.core.PluginDescriptor (these are the only two analysis-core plugins we use at this time)
      • Possible (lower priority) requirement - in some cases we may want to have custom settings for some jobs

      Your suggestion to have a global configuration would be perfect for what I really need at this time. If the "*.txt" file doesn't exist, it could fall back on the global configuration. Because I have created my own PluginDescriptor, it would be nice if the global configuration could apply across all extensions, or else make it very easy for me to hook into that global config.

      This feature makes not only sense for graphs but also for all other aspects of the plug-ins.

      Attachments

        Issue Links

          Activity

            Am I right that this feature will be available on 2.0?
            Really looking forward!
            If I could help with some testing or something else let me know.

            vollmilch Benjamin Fuchs added a comment - Am I right that this feature will be available on 2.0? Really looking forward! If I could help with some testing or something else let me know.
            vollmilch Benjamin Fuchs added a comment - - edited

            Could this also be extended to globally configure the default Trend Graph settings?
            My main requirement would be just to change the default graph so it can be set to "NONE".

            vollmilch Benjamin Fuchs added a comment - - edited Could this also be extended to globally configure the default Trend Graph settings? My main requirement would be just to change the default graph so it can be set to "NONE".

            Maybe this can be included to the global settings:

            https://github.com/jenkinsci/analysis-core-plugin/pull/46

            vollmilch Benjamin Fuchs added a comment - Maybe this can be included to the global settings: https://github.com/jenkinsci/analysis-core-plugin/pull/46
            drulli Ulli Hafner added a comment -

            Partially implemented for pipelines. No support for freestyle and maven builds so far.

            drulli Ulli Hafner added a comment - Partially implemented for pipelines. No support for freestyle and maven builds so far.
            drulli Ulli Hafner added a comment -

            The use case basically is supported by using a shared pipeline script.

            drulli Ulli Hafner added a comment - The use case basically is supported by using a shared pipeline script.

            People

              drulli Ulli Hafner
              jacob_robertson Jacob Robertson
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: