On Thu, Jan 5, 2017 at 3:45 PM, Emory Penney <
treads...@gmail.com> wrote:
> I've noticed that
>
> Jenkins.getInstance().jenkinsInstance.getAllItems(AbstractProject.class);
>
> doesn't seem to get me a list of Pipelines jobs. I'm sure I need to use a
> different class but I'm unclear which one.
`Job.class` to get anything, or `WorkflowJob.class` to get Pipeline only.
https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md#historical-background
Currently there is not an official (i.e., API plugin) marker interface
for `Job` subtypes that would correspond to the
`FlowExecutionOwner.Executable` marker interface for `Run` subtypes,
though I have been thinking about adding one as it would be useful on
occasion.