Title: Message Title
Vivek Pandey commented on JENKINS-38300
Re: Pull requests within a Github org folder / Bitbucket team not displaying
Its a regression for nested multibranch project. pipeline 'jenkins' is nested inside 'Core' folder. UI seems to be sending wrong URL to fetch run details of branch, https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/jenkins/branches/PR-2549/runs/1/. Its missing 'core' folder in the path. Correct URL is: https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/core/pipelines/jenkins/branches/PR-2549/runs/1/. 'self' links are generated correctly, GET on https://ci.jenkins.io/blue/rest/organizations/jenkins/pipelines/Core/jenkins/branches/?filter=pull-requests=0=26 gives:
{
"_class": "io.jenkins.blueocean.rest.impl.pipeline.BranchImpl",
"_links": {
"queue": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/queue/"
},
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/"
},
"activities": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/activities/"
},
"runs": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/"
},
"actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/actions/"
}
},
"actions":[...],
"displayName": "PR-2549",
"estimatedDurationInMillis": -1,
"fullName": "Core/jenkins/PR-2549",
"lastSuccessfulRun": null,
"latestRun": {
"_class": "io.jenkins.blueocean.rest.impl.pipeline.PipelineRunImpl",
"_links": {
"nodes": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/1/nodes/"
},
"self": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/1/"
},
"steps": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/1/steps/"
},
"log": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/1/log/"
},
"actions": {
"_class": "io.jenkins.blueocean.rest.hal.Link",
"href": "/blue/rest/organizations/jenkins/pipelines/Core/pipelines/jenkins/branches/PR-2549/runs/1/actions/"
}
},
"actions": [...],
"artifacts": [],
"changeSet": [],
"durationInMillis": 0,
"enQueueTime": "2016-09-17T22:06:33.504+",
"endTime": null,
"estimatedDurationInMillis": -1,
"id": "1",
"organization": "jenkins",
"pipeline": "PR-2549",
"result": "UNKNOWN",
"runSummary": "?",
"startTime": "2016-09-17T22:06:33.505+",
"state": "RUNNING",
"type": "WorkflowRun",
"commitId": "d128e9b4a654cb6c98ab3c67df9229167098"
},
"name": "PR-2549",