1. Fresh Jenkins instance
2. Install the Dashboard View plugin
3. Create Folder on the instance with a job inside the folder.
4. Configure the Dashboard View to provide a left and right view showing Jenkins jobs list and Latest build and place yourself on the Dashboard View. Then, you get the following:
Screen Shot 2016-06-08 at 10.05.48.png
As you can see two elements appear (both are the same elements) and when you try to go to 1-PetClinic-app-artifact then you are redirected to https://<JENKINS_URL>/job/1-PetClinic-app-artifact/ - which doesn't exist because you are inside a folder.
- is duplicated by
-
JENKINS-35158 search box provides 404 and duplicates results for jobs in folders
-
- Reopened
-
- is related to
-
JENKINS-35158 search box provides 404 and duplicates results for jobs in folders
-
- Reopened
-
- links to
Code changed in jenkins
User: Alex Taylor
Path:
core/src/main/java/hudson/model/ListView.java
test/src/test/java/hudson/search/SearchTest.java
http://jenkins-ci.org/commit/jenkins/ead38e0d23c0a7d0d9416deffe08b8738df89bb1
Log:
JENKINS-35459- Prevent Duplicated elements with incorrect URL when using the search on DashBoard View (#2994)JENKINS-35459- Prevent Duplicated elements with incorrect URL when using the search on DashBoard View