jenkinsci / lucene-search-plugin

Jenkins plugin for searching job data via Lucene or Solr
https://plugins.jenkins.io/lucene-search
MIT License
5 stars 13 forks source link

Fix link in search results for non-top level jobs #67

Closed tdraebing closed 1 year ago

tdraebing commented 1 year ago

This fixes #44. The computation of the URL for the link shown for each build in the search results did not consider non-top level jobs, e.g. jobs within a folder. Now Jenkins APIs are used to retrieve the URL.

Testing done

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue