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

Extension point at the root of the DSL?

XMLWordPrintable

      Hi,

      Would it be possible to have an extension point, through a dedicated ExtensibleContext, which allows to add some code at the root of a DSL, at the same level than job and co?

      The use case is as follows: among activities we want to achieve when generating the jobs of a pipeline, we want to perform other tasks, like creating branches in Ontrack or initialising some repositories in Artifactory.

      The current way we do it is to generate a setup job which is queued automatically at the end of the pipeline generation, but that's a bit heavy.

      It would be neat if we could call some plugin's code, through an extension or directly.

            jamietanna Jamie Tanna
            damien_coraboeuf Damien Coraboeuf
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: