-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Steps
- Go to: Jenkins > New Item.
- Fill in Enter an item name: "test".
- Select GitHub Organization.
- Click OK.
- In Projects:
- Fill in Credentials.
- Fill in Owner.
- Add Behaviors for Within repository:
- Add Discover branches: Exclude branches that are also filed as PRs.
- Add Filter by name (with regular expression): "master|.PR.".
- Click Save.
- Go to the "test" project: /jenkins/job/test/.
- Click on a repository "repo": /jenkins/job/test/repo/.
- Click on the Pull Requests tab: /jenkins/job/test/repo/view/change-requests/.
- There's an Open Blue Ocean link here, it goes to: /jenkins/blue/organizations/jenkins/test%2Frepo/branches/.
- Click on a Pull Request "PR-2": /jenkins/job/test/repo/view/change-requests/job/PR-2.
- There's an Open Blue Ocean link here, it goes to: /jenkins/blue/organizations/jenkins/test%2Frepo/branches/.
Expected results
- The /change-requests/ page should link to /jenkins/blue/organizations/jenkins/test%2Frepo/pr.
- The /change-requests/job/PR-2 page should link to /jenkins/blue/organizations/jenkins/test%2Frepo/activity?branch=PR-2.
I'm not really sure which plugin is responsible for this.