Closed rohancme closed 8 years ago
A service that listens for requests via git hooks.
This will involve:
An example payload is:
{ "ref": "refs/heads/master", "before": "4c53182cf3c2a25c7accb179a05d17a0d290e838", "after": "d65881174c9cc9336be483410311566ff2fa04cb", "created": false, "deleted": false, "forced": false, "base_ref": null, "compare": "https://github.com/rchakra3/temp-mvn/compare/4c53182cf3c2...d65881174c9c", "commits": [ { "id": "d65881174c9cc9336be483410311566ff2fa04cb", "distinct": true, "message": "Added temp3", "timestamp": "2015-12-01T12:52:41-05:00", "url": "https://github.com/rchakra3/temp-mvn/commit/d65881174c9cc9336be483410311566ff2fa04cb", "author": { "name": "muchhalsagar88", "email": "muchhalsagar88@gmail.com", "username": "muchhalsagar88" }, "committer": { "name": "muchhalsagar88", "email": "muchhalsagar88@gmail.com", "username": "muchhalsagar88" }, "added": [ "temp3" ], "removed": [ ], "modified": [ ] } ], "head_commit": { "id": "d65881174c9cc9336be483410311566ff2fa04cb", "distinct": true, "message": "Added temp3", "timestamp": "2015-12-01T12:52:41-05:00", "url": "https://github.com/rchakra3/temp-mvn/commit/d65881174c9cc9336be483410311566ff2fa04cb", "author": { "name": "muchhalsagar88", "email": "muchhalsagar88@gmail.com", "username": "muchhalsagar88" }, "committer": { "name": "muchhalsagar88", "email": "muchhalsagar88@gmail.com", "username": "muchhalsagar88" }, "added": [ "temp3" ], "removed": [ ], "modified": [ ] }, "repository": { "id": 43527477, "name": "temp-mvn", "full_name": "rchakra3/temp-mvn", "owner": { "name": "rchakra3", "email": "rohan.c219@gmail.com" }, "private": false, "html_url": "https://github.com/rchakra3/temp-mvn", "description": "basic mvn project to test jenkins", "fork": false, "url": "https://github.com/rchakra3/temp-mvn", "forks_url": "https://api.github.com/repos/rchakra3/temp-mvn/forks", "keys_url": "https://api.github.com/repos/rchakra3/temp-mvn/keys{/key_id}", "collaborators_url": "https://api.github.com/repos/rchakra3/temp-mvn/collaborators{/collaborator}", "teams_url": "https://api.github.com/repos/rchakra3/temp-mvn/teams", "hooks_url": "https://api.github.com/repos/rchakra3/temp-mvn/hooks", "issue_events_url": "https://api.github.com/repos/rchakra3/temp-mvn/issues/events{/number}", "events_url": "https://api.github.com/repos/rchakra3/temp-mvn/events", "assignees_url": "https://api.github.com/repos/rchakra3/temp-mvn/assignees{/user}", "branches_url": "https://api.github.com/repos/rchakra3/temp-mvn/branches{/branch}", "tags_url": "https://api.github.com/repos/rchakra3/temp-mvn/tags", "blobs_url": "https://api.github.com/repos/rchakra3/temp-mvn/git/blobs{/sha}", "git_tags_url": "https://api.github.com/repos/rchakra3/temp-mvn/git/tags{/sha}", "git_refs_url": "https://api.github.com/repos/rchakra3/temp-mvn/git/refs{/sha}", "trees_url": "https://api.github.com/repos/rchakra3/temp-mvn/git/trees{/sha}", "statuses_url": "https://api.github.com/repos/rchakra3/temp-mvn/statuses/{sha}", "languages_url": "https://api.github.com/repos/rchakra3/temp-mvn/languages", "stargazers_url": "https://api.github.com/repos/rchakra3/temp-mvn/stargazers", "contributors_url": "https://api.github.com/repos/rchakra3/temp-mvn/contributors", "subscribers_url": "https://api.github.com/repos/rchakra3/temp-mvn/subscribers", "subscription_url": "https://api.github.com/repos/rchakra3/temp-mvn/subscription", "commits_url": "https://api.github.com/repos/rchakra3/temp-mvn/commits{/sha}", "git_commits_url": "https://api.github.com/repos/rchakra3/temp-mvn/git/commits{/sha}", "comments_url": "https://api.github.com/repos/rchakra3/temp-mvn/comments{/number}", "issue_comment_url": "https://api.github.com/repos/rchakra3/temp-mvn/issues/comments{/number}", "contents_url": "https://api.github.com/repos/rchakra3/temp-mvn/contents/{+path}", "compare_url": "https://api.github.com/repos/rchakra3/temp-mvn/compare/{base}...{head}", "merges_url": "https://api.github.com/repos/rchakra3/temp-mvn/merges", "archive_url": "https://api.github.com/repos/rchakra3/temp-mvn/{archive_format}{/ref}", "downloads_url": "https://api.github.com/repos/rchakra3/temp-mvn/downloads", "issues_url": "https://api.github.com/repos/rchakra3/temp-mvn/issues{/number}", "pulls_url": "https://api.github.com/repos/rchakra3/temp-mvn/pulls{/number}", "milestones_url": "https://api.github.com/repos/rchakra3/temp-mvn/milestones{/number}", "notifications_url": "https://api.github.com/repos/rchakra3/temp-mvn/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/rchakra3/temp-mvn/labels{/name}", "releases_url": "https://api.github.com/repos/rchakra3/temp-mvn/releases{/id}", "created_at": 1443743812, "updated_at": "2015-10-02T00:02:55Z", "pushed_at": 1448992415, "git_url": "git://github.com/rchakra3/temp-mvn.git", "ssh_url": "git@github.com:rchakra3/temp-mvn.git", "clone_url": "https://github.com/rchakra3/temp-mvn.git", "svn_url": "https://github.com/rchakra3/temp-mvn", "homepage": null, "size": 10, "stargazers_count": 0, "watchers_count": 0, "language": "Java", "has_issues": true, "has_downloads": true, "has_wiki": true, "has_pages": false, "forks_count": 2, "mirror_url": null, "open_issues_count": 0, "forks": 2, "open_issues": 0, "watchers": 0, "default_branch": "master", "stargazers": 0, "master_branch": "master" }, "pusher": { "name": "muchhalsagar88", "email": "muchhalsagar88@users.noreply.github.com" }, "sender": { "login": "muchhalsagar88", "id": 8758225, "avatar_url": "https://avatars.githubusercontent.com/u/8758225?v=3", "gravatar_id": "", "url": "https://api.github.com/users/muchhalsagar88", "html_url": "https://github.com/muchhalsagar88", "followers_url": "https://api.github.com/users/muchhalsagar88/followers", "following_url": "https://api.github.com/users/muchhalsagar88/following{/other_user}", "gists_url": "https://api.github.com/users/muchhalsagar88/gists{/gist_id}", "starred_url": "https://api.github.com/users/muchhalsagar88/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/muchhalsagar88/subscriptions", "organizations_url": "https://api.github.com/users/muchhalsagar88/orgs", "repos_url": "https://api.github.com/users/muchhalsagar88/repos", "events_url": "https://api.github.com/users/muchhalsagar88/events{/privacy}", "received_events_url": "https://api.github.com/users/muchhalsagar88/received_events", "type": "User", "site_admin": false } }
Out of scope for now. This is only a priority after I can get at least one more test generation tool integrated.
A service that listens for requests via git hooks.
This will involve:
An example payload is: