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

Make the promoted-builds-plugin DSL extension for job-dsl-plugin extensible: Automatically Generated DSL

      The current DSL extension is static and needs to be modified/improved whenever a new feature is added to promoted-builds-plugin.
      By the extensible nature of this plugin (it provides the PromotionCondition ExtensionPoint for third parties to implement), this makes the DSL extension requirement to be dynamic depending on available plugins ; this doesn't scale well with the current static DSL extension.
      job-dsl-plugin 1.46 introduced the Automatically Generated DSL feature to address this issue on job-dsl-plugin itself by the use of javaposse.jobdsl.dsl.ExtensibleContext / javaposse.jobdsl.dsl.ContextType at the DSL level (model introspection done by helpers such as javaposse.jobdsl.plugin.structs.DescribableContext).

      The promoted-builds-plugin DSL extension should make use of those DSL authoring tool to automatically discover available PromotionCondition.

          [JENKINS-39342] Make the promoted-builds-plugin DSL extension for job-dsl-plugin extensible: Automatically Generated DSL

          Frédéric Chuong created issue -
          Frédéric Chuong made changes -
          Link New: This issue is related to JENKINS-34872 [ JENKINS-34872 ]
          Frédéric Chuong made changes -
          Link New: This issue is related to JENKINS-34982 [ JENKINS-34982 ]
          Frédéric Chuong made changes -
          Component/s Original: job-dsl-plugin [ 16720 ]
          Frédéric Chuong made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Oleg Nenashev [ oleg_nenashev ]
          Jakub Bochenski made changes -
          Link New: This issue relates to JENKINS-40022 [ JENKINS-40022 ]
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-44837 [ 182897 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Labels Original: job-dsl-plugin promoted-builds New: job-dsl-plugin promoted-builds stalled-pr

            Unassigned Unassigned
            fchuong Frédéric Chuong
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: