{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/comments/35425157","id":35425157,"diff_hunk":"@@ -229,7 +229,11 @@ public synchronized SCM getScm() {\n     @Override\n     @NonNull\n     public SCMCheckoutStrategy getScmCheckoutStrategy() {\n-        return Jenkins.getInstance().getDescriptorByType(SCMCheckoutStrategyImpl.DescriptorImpl.class).getInstance();\n+        Jenkins j = Jenkins.getInstance();\n+        if (j == null) {\n+            throw new IllegalStateException(); // TODO 1.590+ getActiveInstance","path":"src/main/java/org/cloudbees/literate/jenkins/LiterateBranchProject.java","position":7,"original_position":7,"commit_id":"941a40be831828048e8364f155d89e413cfd456b","original_commit_id":"941a40be831828048e8364f155d89e413cfd456b","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"This is only temporary code until the baseline is bumped back up, at which point `getActiveInstance` prints a message.","created_at":"2015-07-24T14:08:25Z","updated_at":"2015-07-24T14:08:25Z","html_url":"https://github.com/jenkinsci/literate-plugin/pull/6#discussion_r35425157","pull_request_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/comments/35425157"},"html":{"href":"https://github.com/jenkinsci/literate-plugin/pull/6#discussion_r35425157"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6","id":38820655,"html_url":"https://github.com/jenkinsci/literate-plugin/pull/6","diff_url":"https://github.com/jenkinsci/literate-plugin/pull/6.diff","patch_url":"https://github.com/jenkinsci/literate-plugin/pull/6.patch","issue_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/6","number":6,"state":"open","locked":false,"title":"[JENKINS-26129] Adapting to upstream changes","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"Downstream of https://github.com/jenkinsci/branch-api-plugin/pull/4. Fixes a source-level incompatibility, and for sanity updates to the current LTS baseline.\r\n\r\n@reviewbybees esp. @stephenc","created_at":"2015-06-29T21:38:52Z","updated_at":"2015-07-24T14:08:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d9e1451b59a818116c36e9086927adbdeb7d2ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/6/comments","statuses_url":"https://api.github.com/repos/jenkinsci/literate-plugin/statuses/941a40be831828048e8364f155d89e413cfd456b","head":{"label":"jenkinsci:multibranch-workflow-JENKINS-26129","ref":"multibranch-workflow-JENKINS-26129","sha":"941a40be831828048e8364f155d89e413cfd456b","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":12889620,"name":"literate-plugin","full_name":"jenkinsci/literate-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/literate-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/literate-plugin","forks_url":"https://api.github.com/repos/jenkinsci/literate-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/literate-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/literate-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/literate-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/literate-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/literate-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/literate-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/literate-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/literate-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/literate-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/literate-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/literate-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/literate-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/literate-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/literate-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/literate-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/literate-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/literate-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/literate-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/literate-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/literate-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/literate-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/literate-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/literate-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/literate-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/literate-plugin/releases{/id}","created_at":"2013-09-17T08:00:49Z","updated_at":"2015-06-08T15:42:31Z","pushed_at":"2015-07-23T15:13:08Z","git_url":"git://github.com/jenkinsci/literate-plugin.git","ssh_url":"git@github.com:jenkinsci/literate-plugin.git","clone_url":"https://github.com/jenkinsci/literate-plugin.git","svn_url":"https://github.com/jenkinsci/literate-plugin","homepage":"","size":870,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":17,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"180cdb4ea7083dd62d4ad78b307a1d00b398216f","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":12889620,"name":"literate-plugin","full_name":"jenkinsci/literate-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/literate-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/literate-plugin","forks_url":"https://api.github.com/repos/jenkinsci/literate-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/literate-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/literate-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/literate-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/literate-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/literate-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/literate-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/literate-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/literate-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/literate-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/literate-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/literate-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/literate-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/literate-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/literate-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/literate-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/literate-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/literate-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/literate-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/literate-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/literate-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/literate-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/literate-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/literate-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/literate-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/literate-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/literate-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/literate-plugin/releases{/id}","created_at":"2013-09-17T08:00:49Z","updated_at":"2015-06-08T15:42:31Z","pushed_at":"2015-07-23T15:13:08Z","git_url":"git://github.com/jenkinsci/literate-plugin.git","ssh_url":"git@github.com:jenkinsci/literate-plugin.git","clone_url":"https://github.com/jenkinsci/literate-plugin.git","svn_url":"https://github.com/jenkinsci/literate-plugin","homepage":"","size":870,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6"},"html":{"href":"https://github.com/jenkinsci/literate-plugin/pull/6"},"issue":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/6"},"comments":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/literate-plugin/statuses/941a40be831828048e8364f155d89e413cfd456b"}}}}