Class PipelineSearch

java.lang.Object
io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BluePipeline>
io.jenkins.blueocean.service.embedded.rest.PipelineSearch
All Implemented Interfaces:
ExtensionPoint

@Extension public class PipelineSearch extends io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BluePipeline>
Returns flattened view of pipelines To exclude flattening multi branch project: GET /rest/search/?q=type:pipeline;organization:jenkins;excludedFromFlattening=jenkins.branch.MultiBranchProject To exclude flattening a folder: GET /rest/search/?q=type:pipeline;organization:jenkins;excludedFromFlattening=com.cloudbees.hudson.plugins.folder.AbstractFolder To exclude flattening both a folder and multi-branch projects GET /rest/search/?q=type:pipeline;organization:jenkins;excludedFromFlattening=jenkins.branch.MultiBranchProject,com.cloudbees.hudson.plugins.folder.AbstractFolder
Author:
Vivek Pandey
  • Constructor Details

    • PipelineSearch

      public PipelineSearch()
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in class io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BluePipeline>
    • search

      public io.jenkins.blueocean.rest.pageable.Pageable<io.jenkins.blueocean.rest.model.BluePipeline> search(io.jenkins.blueocean.rest.Query q)
      Specified by:
      search in class io.jenkins.blueocean.rest.OmniSearch<io.jenkins.blueocean.rest.model.BluePipeline>