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

Profile based defaults for jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently Jenkins does not allow setting default values for job configuration (retention, authorization, etc) From administrative point of view lack of centralized management makes managing jobs extremely hard. Instead of centralized management, retention and authorization strategies are defined at job level. Currently management of hundreds jobs requires error-prone groovy scripts.

      My suggestion is to introduce option to use profile based defaults for jobs. In an ideal world profiles would be stored in a version control system and updates to profiles would be propagated to jobs using them without running the actual job.

       

      Example profile:

      {   authorizationMatrix(...)   buildDiscarder(logRotator(artifactNumToKeepStr: '1', daysToKeepStr: 30)), pipelineTriggers([cron('H/15 * * * *')])]) }

        Attachments

          Activity

          Hide
          skorhone Sami Korhonen added a comment -

          This seems to be implemented in commercial version. Closing the issue

          Show
          skorhone Sami Korhonen added a comment - This seems to be implemented in commercial version. Closing the issue

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            skorhone Sami Korhonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: