GitHub PullRequestEvent at 2014-10-06 02:13:11
Repository: gradle-jpi-plugin
Actor: JeremyMarshall
Payload: {"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21","id":22262538,"html_url":"https://github.com/jenkinsci/gradle-jpi-plugin/pull/21","diff_url":"https://github.com/jenkinsci/gradle-jpi-plugin/pull/21.diff","patch_url":"https://github.com/jenkinsci/gradle-jpi-plugin/pull/21.patch","issue_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/21","number":21,"state":"open","locked":false,"title":"Add local repo option","user":{"login":"JeremyMarshall","id":2678984,"avatar_url":"https://avatars.githubusercontent.com/u/2678984?v=2","gravatar_id":"","url":"https://api.github.com/users/JeremyMarshall","html_url":"https://github.com/JeremyMarshall","followers_url":"https://api.github.com/users/JeremyMarshall/followers","following_url":"https://api.github.com/users/JeremyMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JeremyMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyMarshall/subscriptions","organizations_url":"https://api.github.com/users/JeremyMarshall/orgs","repos_url":"https://api.github.com/users/JeremyMarshall/repos","events_url":"https://api.github.com/users/JeremyMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyMarshall/received_events","type":"User","site_admin":false},"body":"The problem this addresses is to allow people without jenkins repo access to build and modify the plugin\r\n\r\nin the gradle.properties file change the line to\r\n```\r\nversion=0.6.1-LOCAL\r\n```\r\nfor example\r\n```\r\n./gradlew uploadArchives\r\n```\r\nwill add the jar to build/repo\r\n\r\nIn a corresponding build.gradle in your actual jenkins plugin you can add\r\n```    \r\nbuildscript {\r\n    repositories {\r\n        maven {\r\n            name \"jenkins-local\"\r\n            delegate.url( \"file://path/to/gradle-jpi-plugin/build/repo\" )\r\n        }\r\n        maven {\r\n            name \"jenkins\"\r\n            delegate.url(\"http://repo.jenkins-ci.org/releases/\")\r\n        }\r\n        mavenCentral()\r\n    }\r\n    dependencies {\r\n        classpath 'org.jenkins-ci.tools:gradle-jpi-plugin:0.6.1-LOCAL'\r\n    }\r\n}\r\n```","created_at":"2014-10-06T02:13:11Z","updated_at":"2014-10-06T02:13:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/21/comments","statuses_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/statuses/d55f1d79fd2e0957249e7fd40472b847c892d719","head":{"label":"JeremyMarshall:localupload2","ref":"localupload2","sha":"d55f1d79fd2e0957249e7fd40472b847c892d719","user":{"login":"JeremyMarshall","id":2678984,"avatar_url":"https://avatars.githubusercontent.com/u/2678984?v=2","gravatar_id":"","url":"https://api.github.com/users/JeremyMarshall","html_url":"https://github.com/JeremyMarshall","followers_url":"https://api.github.com/users/JeremyMarshall/followers","following_url":"https://api.github.com/users/JeremyMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JeremyMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyMarshall/subscriptions","organizations_url":"https://api.github.com/users/JeremyMarshall/orgs","repos_url":"https://api.github.com/users/JeremyMarshall/repos","events_url":"https://api.github.com/users/JeremyMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyMarshall/received_events","type":"User","site_admin":false},"repo":{"id":24675740,"name":"gradle-jpi-plugin","full_name":"JeremyMarshall/gradle-jpi-plugin","owner":{"login":"JeremyMarshall","id":2678984,"avatar_url":"https://avatars.githubusercontent.com/u/2678984?v=2","gravatar_id":"","url":"https://api.github.com/users/JeremyMarshall","html_url":"https://github.com/JeremyMarshall","followers_url":"https://api.github.com/users/JeremyMarshall/followers","following_url":"https://api.github.com/users/JeremyMarshall/following{/other_user}","gists_url":"https://api.github.com/users/JeremyMarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/JeremyMarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeremyMarshall/subscriptions","organizations_url":"https://api.github.com/users/JeremyMarshall/orgs","repos_url":"https://api.github.com/users/JeremyMarshall/repos","events_url":"https://api.github.com/users/JeremyMarshall/events{/privacy}","received_events_url":"https://api.github.com/users/JeremyMarshall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeremyMarshall/gradle-jpi-plugin","description":"","fork":true,"url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin","forks_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/forks","keys_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/teams","hooks_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/hooks","issue_events_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/events","assignees_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/tags","blobs_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/languages","stargazers_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/stargazers","contributors_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/contributors","subscribers_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/subscribers","subscription_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/subscription","commits_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/merges","archive_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/downloads","issues_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/labels{/name}","releases_url":"https://api.github.com/repos/JeremyMarshall/gradle-jpi-plugin/releases{/id}","created_at":"2014-10-01T11:20:31Z","updated_at":"2014-10-02T11:21:46Z","pushed_at":"2014-10-05T23:51:18Z","git_url":"git://github.com/JeremyMarshall/gradle-jpi-plugin.git","ssh_url":"git@github.com:JeremyMarshall/gradle-jpi-plugin.git","clone_url":"https://github.com/JeremyMarshall/gradle-jpi-plugin.git","svn_url":"https://github.com/JeremyMarshall/gradle-jpi-plugin","homepage":"","size":573,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"ee56785c8664aeb1231742d90e8aa6ad882ce13e","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=2","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":2976872,"name":"gradle-jpi-plugin","full_name":"jenkinsci/gradle-jpi-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=2","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/gradle-jpi-plugin","description":"","fork":true,"url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin","forks_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/releases{/id}","created_at":"2011-12-14T01:29:45Z","updated_at":"2014-10-03T06:20:47Z","pushed_at":"2014-10-01T20:31:01Z","git_url":"git://github.com/jenkinsci/gradle-jpi-plugin.git","ssh_url":"git@github.com:jenkinsci/gradle-jpi-plugin.git","clone_url":"https://github.com/jenkinsci/gradle-jpi-plugin.git","svn_url":"https://github.com/jenkinsci/gradle-jpi-plugin","homepage":"","size":573,"stargazers_count":9,"watchers_count":9,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21"},"html":{"href":"https://github.com/jenkinsci/gradle-jpi-plugin/pull/21"},"issue":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/21"},"comments":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/gradle-jpi-plugin/statuses/d55f1d79fd2e0957249e7fd40472b847c892d719"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":6,"changed_files":1}}