Command pallete search - why so difficult?

Jenkins setup: 2.492.2

The new command pallete search - How do I get it to list a page of links that match the search term. I used to be able to do this. Like I could put in branchX and hit return and all items that have branchX in it would come up on a webpage with the links to them. This used to work before we upgraded to the command pallete.
But now it will not - branchX return only returns the FIRST item in the drop down list that returns.

This just seems like a very basic, simple search task that should always work. Is there something I’m missing?

1 Like

I don’t like the new search either. It is not intuitive to hit the Ctrl-K for a search with the popup. I also would prefer having a search input field at the top and actually showing a list of results that I can then choose from. I prefer to have the list of results that I can then right-click and popup new tabs to work on multiple configurations fromt he search results.

Put the old search screen back!

1 Like

I manage a Jenkins instance with thousands of jobs. They’re organized by name. Generally, when I do a deployment, I search for jobs by artifactId (which results in a couple of dozen different jobs), and then in the results page, select the relevant jobs using the browser search function, open them in new tabs, and do my thing.

It’s probably not the most efficient way to work, but it’s what I’m used to, and it works for me. There is no way I can port my workflow to this new search function in Jenkins. At least, not without writing a bunch of additional code.

I can right-click results in the command palette dropdown list, sure - but I can’t get all the results I want on one screen without scrolling, using that dropdown list, and it doesn’t accept regular expressions, and I can’t use the browser’s search function on it. I’ve seen that an /search/?q=blah page still exists (although not accessible through the UI), but it does not produce complete urls and is therefore not usable.

Jenkins, am I missing something? Why this severe reduction in functionality? I get that you like things looking snazzy and everything, but I can’t work with this. Is there a plugin somewhere that has the old search functionality, with a results page?

The Customizable Header plugin has a user option to get classic search back. Means you get an input field in the header and when you hit enter while in the field it will forward you to /search/?q=blah, showing you the matched things.
There was a bug that was only fixed in this weekly that made the links in that search page not work when Jenkins runs at root context.
Note that the plugin requires 2.507 minimum due to the redesigned header so not yet available in a LTS release