-
Bug
-
Resolution: Not A Defect
-
Minor
-
Jenkins ver. 2.164.1, Blue Ocean 1.14.0
I am using a multi branch pipeline. The branches name contains a /.
Example: branch name is feature/ABS-62317
When I am in a build in a multibranch pipeline in normal view, the URL is like this:
job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/
When I am pressing Open Blue Ocean I am redirected to:
blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/
The problem is that this will result in 404, page not found.
The correct link should've been
blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/
So replace the / in the url of the branch name with %2F
Finally, after replacing the text and seing the build pipeline in ocean blue mode, if I press next/previous(the arrows from top left) and then refresh, I am redirected again to the 404 page.
- is related to
-
JENKINS-30744 multibranch issues if branch contains /
-
- Closed
-
[JENKINS-56956] Open Blue Ocean link with / character in branch name redirects to 404
Link |
New:
This issue is related to |
Description |
Original:
I am using a multi branch pipeline with having branches with */* in the name. Example: branch name is _feature/ABS-62317_ When I am in a build in a multibranch pipeline in normal view, the URL is like this: job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/ When I am pressing _Open Blue Ocean_ I am redirected to: blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/ The problem is that this will result in 404, page not found. The correct link should've been blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/ So replace the */* in the url of the branch name with *%2F* |
New:
I am using a multi branch pipeline. The branches name contains a */*. Example: branch name is _feature/ABS-62317_ When I am in a build in a multibranch pipeline in normal view, the URL is like this: job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/ When I am pressing _Open Blue Ocean_ I am redirected to: blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/ The problem is that this will result in 404, page not found. The correct link should've been blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/ So replace the */* in the url of the branch name with *%2F* |
Description |
Original:
I am using a multi branch pipeline. The branches name contains a */*. Example: branch name is _feature/ABS-62317_ When I am in a build in a multibranch pipeline in normal view, the URL is like this: job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/ When I am pressing _Open Blue Ocean_ I am redirected to: blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/ The problem is that this will result in 404, page not found. The correct link should've been blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/ So replace the */* in the url of the branch name with *%2F* |
New:
I am using a multi branch pipeline. The branches name contains a */*. Example: branch name is _feature/ABS-62317_ When I am in a build in a multibranch pipeline in normal view, the URL is like this: job/<MyJobName>/job/feature%252FABS-62317/<MyBuildNumber>/ When I am pressing _Open Blue Ocean_ I am redirected to: blue/organizations/jenkins/<MyJobName>/detail/feature/ABS-62317/<MyBuildNumber>/ The problem is that this will result in 404, page not found. The correct link should've been blue/organizations/jenkins/<MyJobName>/detail/feature*%2F*ABS-62317/<MyBuildNumber>/ So replace the */* in the url of the branch name with *%2F* Finally, after replacing the text and seing the build pipeline in ocean blue mode, if I press next/previous(the arrows from top left) and then refresh, I am redirected again to the 404 page. |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
The problem was due to my NginX.
https://wiki.jenkins.io/display/JENKINS/Running+Jenkins+behind+Nginx