{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments/66871496","id":66871496,"diff_hunk":"@@ -10,19 +10,56 @@ node {\n \n   stage 'Build'\n \n-  /* Call the maven build. */\n-  mvn \"clean install -B -V -U -e -Dsurefire.useFile=false -Dmaven.test.failure.ignore=true\"\n+  /* Call the maven build.  No tests./ */\n+  mvn \"clean install -B -V -U -e -DskipTests\"\n+\n+  stage 'Test'\n+\n+  /* Run tests in parallel on multiple nodes */\n+  runParallelTests()\n \n   /* Save Results. */\n   stage 'Results'\n \n-  /* Archive the test results */\n-  step([$class: 'JUnitResultArchiver', testResults: '**/target/surefire-reports/TEST-*.xml'])\n-\n   /* Archive the build artifacts */\n   step([$class: 'ArtifactArchiver', artifacts: 'target/*.hpi,target/*.jpi'])\n }\n \n+void runParallelTests() {\n+  /* Request the test groupings.  Based on previous test exection. */\n+  def splits = splitTests parallelism: [$class: 'CountDrivenParallelism', size: 4], generateInclusions: true\n+\n+  def testGroups = [:]\n+  for (int i = 0; i < splits.size(); i++) {\n+    def split = splits[i]\n+\n+    testGroups[\"split${i}\"] = {","path":"Jenkinsfile","position":32,"original_position":32,"commit_id":"96b79d37d9a24c691bf4c73d5ffe13b33fe48dae","original_commit_id":"96b79d37d9a24c691bf4c73d5ffe13b33fe48dae","user":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"body":"Sure, but it's going to get a bit involved.   ","created_at":"2016-06-13T21:26:37Z","updated_at":"2016-06-13T21:26:37Z","html_url":"https://github.com/jenkinsci/git-plugin/pull/411#discussion_r66871496","pull_request_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments/66871496"},"html":{"href":"https://github.com/jenkinsci/git-plugin/pull/411#discussion_r66871496"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411","id":73302090,"html_url":"https://github.com/jenkinsci/git-plugin/pull/411","diff_url":"https://github.com/jenkinsci/git-plugin/pull/411.diff","patch_url":"https://github.com/jenkinsci/git-plugin/pull/411.patch","issue_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/411","number":411,"state":"open","locked":false,"title":"Add parallel test execution","user":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"body":"Speed up build by executing in parallel on multiple nodes. ","created_at":"2016-06-09T23:23:03Z","updated_at":"2016-06-13T21:26:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5918596cee936a546947f17198907ffc238382a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/411/comments","statuses_url":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/96b79d37d9a24c691bf4c73d5ffe13b33fe48dae","head":{"label":"bitwiseman:feature/parallel-tests/develop","ref":"feature/parallel-tests/develop","sha":"96b79d37d9a24c691bf4c73d5ffe13b33fe48dae","user":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"repo":{"id":60197390,"name":"git-plugin","full_name":"bitwiseman/git-plugin","owner":{"login":"bitwiseman","id":1958953,"avatar_url":"https://avatars.githubusercontent.com/u/1958953?v=3","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bitwiseman/git-plugin","description":"Git plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/bitwiseman/git-plugin","forks_url":"https://api.github.com/repos/bitwiseman/git-plugin/forks","keys_url":"https://api.github.com/repos/bitwiseman/git-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitwiseman/git-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitwiseman/git-plugin/teams","hooks_url":"https://api.github.com/repos/bitwiseman/git-plugin/hooks","issue_events_url":"https://api.github.com/repos/bitwiseman/git-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/bitwiseman/git-plugin/events","assignees_url":"https://api.github.com/repos/bitwiseman/git-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/bitwiseman/git-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/bitwiseman/git-plugin/tags","blobs_url":"https://api.github.com/repos/bitwiseman/git-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitwiseman/git-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitwiseman/git-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitwiseman/git-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitwiseman/git-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/bitwiseman/git-plugin/languages","stargazers_url":"https://api.github.com/repos/bitwiseman/git-plugin/stargazers","contributors_url":"https://api.github.com/repos/bitwiseman/git-plugin/contributors","subscribers_url":"https://api.github.com/repos/bitwiseman/git-plugin/subscribers","subscription_url":"https://api.github.com/repos/bitwiseman/git-plugin/subscription","commits_url":"https://api.github.com/repos/bitwiseman/git-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitwiseman/git-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitwiseman/git-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitwiseman/git-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitwiseman/git-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/bitwiseman/git-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitwiseman/git-plugin/merges","archive_url":"https://api.github.com/repos/bitwiseman/git-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitwiseman/git-plugin/downloads","issues_url":"https://api.github.com/repos/bitwiseman/git-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/bitwiseman/git-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/bitwiseman/git-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/bitwiseman/git-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitwiseman/git-plugin/labels{/name}","releases_url":"https://api.github.com/repos/bitwiseman/git-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/bitwiseman/git-plugin/deployments","created_at":"2016-06-01T17:28:57Z","updated_at":"2016-06-01T17:29:00Z","pushed_at":"2016-06-10T16:40:13Z","git_url":"git://github.com/bitwiseman/git-plugin.git","ssh_url":"git@github.com:bitwiseman/git-plugin.git","clone_url":"https://github.com/bitwiseman/git-plugin.git","svn_url":"https://github.com/bitwiseman/git-plugin","homepage":"http://wiki.jenkins-ci.org/display/JENKINS/Git Plugin","size":4367,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"7a31858e61d2ca2e752b0e4f1285bddcb7a75c4d","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":612587,"name":"git-plugin","full_name":"jenkinsci/git-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/git-plugin","description":"Git plugin for Jenkins","fork":true,"url":"https://api.github.com/repos/jenkinsci/git-plugin","forks_url":"https://api.github.com/repos/jenkinsci/git-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/git-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/git-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/git-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/git-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/git-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/git-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/git-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/git-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/git-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/git-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/git-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/git-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/git-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/git-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/git-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/git-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/git-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/git-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/git-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/git-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/git-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/git-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/git-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/git-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/git-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/git-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/git-plugin/deployments","created_at":"2010-04-15T21:07:21Z","updated_at":"2016-06-11T14:40:46Z","pushed_at":"2016-06-11T13:35:53Z","git_url":"git://github.com/jenkinsci/git-plugin.git","ssh_url":"git@github.com:jenkinsci/git-plugin.git","clone_url":"https://github.com/jenkinsci/git-plugin.git","svn_url":"https://github.com/jenkinsci/git-plugin","homepage":"http://wiki.jenkins-ci.org/display/JENKINS/Git Plugin","size":7474,"stargazers_count":389,"watchers_count":389,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":547,"mirror_url":null,"open_issues_count":61,"forks":547,"open_issues":61,"watchers":389,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411"},"html":{"href":"https://github.com/jenkinsci/git-plugin/pull/411"},"issue":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/issues/411"},"comments":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/issues/411/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/pulls/411/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/git-plugin/statuses/96b79d37d9a24c691bf4c73d5ffe13b33fe48dae"}}}}
{"actor":{"display_login":"bitwiseman"}}