{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/412","repository_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/412/comments","events_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/412/events","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/412","id":171554458,"number":412,"title":"JENKINS-37104# Matrix project handling","user":{"login":"vivek","id":38139,"avatar_url":"https://avatars.githubusercontent.com/u/38139?v=3","gravatar_id":"","url":"https://api.github.com/users/vivek","html_url":"https://github.com/vivek","followers_url":"https://api.github.com/users/vivek/followers","following_url":"https://api.github.com/users/vivek/following{/other_user}","gists_url":"https://api.github.com/users/vivek/gists{/gist_id}","starred_url":"https://api.github.com/users/vivek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivek/subscriptions","organizations_url":"https://api.github.com/users/vivek/orgs","repos_url":"https://api.github.com/users/vivek/repos","events_url":"https://api.github.com/users/vivek/events{/privacy}","received_events_url":"https://api.github.com/users/vivek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/labels/needs-review","name":"needs-review","color":"eb6420"},{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/labels/work-in-progress","name":"work-in-progress","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-17T01:27:17Z","updated_at":"2016-08-17T23:16:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/pulls/412","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/412","diff_url":"https://github.com/jenkinsci/blueocean-plugin/pull/412.diff","patch_url":"https://github.com/jenkinsci/blueocean-plugin/pull/412.patch"},"body":"# Description\r\n\r\nSee https://issues.jenkins-ci.org/browse/JENKINS-37104\r\n\r\n# Submitter checklist\r\n- [x] Link to JIRA ticket in description, if appropriate.\r\n- [x] Change is code complete and matches issue description\r\n- [x] Apppropriate unit or acceptance tests or explaination to why this change has no tests\r\n- [x] Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.\r\n\r\n- Create a matrix project mp1 with two axis with two values each and run it, you should get total of 4 builds, one for each combination and there should be build for mp1 as well.\r\n- Do curl -v http://localhost:8080/jenkins/blue/rest/search/?q=type:pipeline;excludedFromFlattening:jenkins.branch.MultiBranchProject,hudson.matrix.MatrixProject to get list of pipelines, here we are asking not to inline MatrixProject children.\r\n- The list of pipeline should have mp1 project with self href pointing to \"/job/mp1/\"\r\n- curl -v http://localhost:8080/jenkins/blue/rest/classes/io.jenkins.blueocean.rest.impl.pipeline.MatrixProjectImpl/ should give list of capabilities that includes hudson.matrix.MatrixProject\r\n\r\n- [x] Ran Acceptance Test Harness against PR changes.\r\nhttps://ci.blueocean.io/job/Acceptance%20Tests%20Param/19/, it failed with unrelated error to download jquery2:\r\n\r\n    [ERROR - 2016-08-17T01:17:57.972Z] Session [0f406550-6418-11e6-9fd4-d5cee85dbc1a] - page.onError - msg: Module load failure: Timed out waiting on module 'jquery-detached:jquery2' to load.\r\n\r\nTriggered another: https://ci.blueocean.io/job/Acceptance%20Tests%20Param/20/\r\n\r\n\r\n# Reviewer checklist\r\n- [ ] Run the changes and verified the change matches the issue description\r\n- [ ] Reviewed the code\r\n- [ ] Verified that the appropriate tests have been written or valid explaination given\r\n\r\n@jenkinsci/code-reviewers @reviewbybees \r\n\r\n- Bare minimum support for Matrix project. Ensures it doesn't break.\r\n- For matrix project, self href points to classic URL path (\"/job/:name\")\r\n- Adds hudson.matrix.MatrixProject capability\r\n- UI to check hudson.matrix.MatrixProject capability and if present create a link using returned self href,\r\n  so that when user clicks on it, he gets redirected to classic Matrix job page."},"comment":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/comments/240578133","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/412#issuecomment-240578133","issue_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/412","id":240578133,"user":{"login":"vivek","id":38139,"avatar_url":"https://avatars.githubusercontent.com/u/38139?v=3","gravatar_id":"","url":"https://api.github.com/users/vivek","html_url":"https://github.com/vivek","followers_url":"https://api.github.com/users/vivek/followers","following_url":"https://api.github.com/users/vivek/following{/other_user}","gists_url":"https://api.github.com/users/vivek/gists{/gist_id}","starred_url":"https://api.github.com/users/vivek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivek/subscriptions","organizations_url":"https://api.github.com/users/vivek/orgs","repos_url":"https://api.github.com/users/vivek/repos","events_url":"https://api.github.com/users/vivek/events{/privacy}","received_events_url":"https://api.github.com/users/vivek/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T23:16:53Z","updated_at":"2016-08-17T23:16:53Z","body":"@imeredith Oh, its to be done in separate ticket, not part of this PR, https://issues.jenkins-ci.org/browse/JENKINS-37427."}}
{"actor":{"display_login":"vivek"}}