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

Pipeline jobs appear in Search Box suggestions but not Search Results page

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • nested-view-plugin
    • None

      Typing the beginning of a job name in the Search Box shows suggestions in the dropdown of all matching jobs, but upon pressing Enter and being taken to the Search Results page, only Freestyle Project matches are shown and the Pipeline jobs that match (and were in the suggestions) are not in the results. This makes navigating to Pipeline Jobs quite difficult.

      Phrased differently, all jobs matching the query text appear in the JSON response for requests to `/search/suggest?query=...`, howevers jobs with config.xml root element `<flow-definition plugin="workflow-job@...">` do NOT appear in the HTML response for requests to `/search/?q=...`. Only jobs with root element <project> appear in the HTML response.

       

          [JENKINS-66084] Pipeline jobs appear in Search Box suggestions but not Search Results page

          Jason Stangroome created issue -
          Swati made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]

          Swati added a comment -

          I am also facing same issue and it will be a blocker if Search doesn't work for pipeline jobs. 

          Swati added a comment - I am also facing same issue and it will be a blocker if Search doesn't work for pipeline jobs. 
          Mark Waite made changes -

          Mark Waite added a comment -

          I can't duplicate the problem that you're seeing. Can you provide other hints about what might be different between search in your installation and mine?

          When I enter the text "mast" into the search box and press enter, the search results page shows all the pipeline jobs for master branches in my multibranch pipeline jobs. When I enter the text "pipeline" into the search box and press enter, the search results page shows the jobs with the word "pipeline" in their name. Several of those jobs are pipeline jobs that are not multibranch pipeline.

          The search result looks like this:

          Mark Waite added a comment - I can't duplicate the problem that you're seeing. Can you provide other hints about what might be different between search in your installation and mine? When I enter the text "mast" into the search box and press enter, the search results page shows all the pipeline jobs for master branches in my multibranch pipeline jobs. When I enter the text "pipeline" into the search box and press enter, the search results page shows the jobs with the word "pipeline" in their name. Several of those jobs are pipeline jobs that are not multibranch pipeline. The search result looks like this:
          Swati made changes -
          Attachment New: Screen Shot 2021-07-21 at 9.39.17 AM.png [ 55237 ]
          Swati made changes -
          Attachment New: Screen Shot 2021-07-21 at 10.04.53 AM.png [ 55238 ]
          Swati made changes -
          Attachment New: Screen Shot 2021-07-21 at 10.13.23 AM.png [ 55239 ]
          Attachment New: Screen Shot 2021-07-21 at 10.12.32 AM.png [ 55240 ]
          Swati made changes -
          Attachment Original: Screen Shot 2021-07-21 at 10.04.53 AM.png [ 55238 ]
          Swati made changes -
          Attachment Original: Screen Shot 2021-07-21 at 9.39.17 AM.png [ 55237 ]

            Unassigned Unassigned
            jstangroome Jason Stangroome
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: