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

Provide API for returning valid types for Declarative sections

      While we can safely assume that the contents of steps blocks (and similar blocks like the build condition responders) are going to be of type Step with a StepDescriptor (though not perfectly, since method calls (such as from shared libraries) are allowed, but that's a different matter), the in-the-works Blue Ocean Pipeline Editor doesn't have a way of knowing what types are valid for other sections, most notably ones like jobProperties, triggers and parameters (and, for that matter, agent backend types and build conditions, i.e., always, changed, etc). There should be an API for getting the extension point that is valid for the contents of these sections.

          [JENKINS-39759] Provide API for returning valid types for Declarative sections

          There are no comments yet on this issue.

            Unassigned Unassigned
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: