Extension point at the root of the DSL?

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            Jamie Tanna
            Reporter:
            Damien Coraboeuf
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: