{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/comments/80476748","id":80476748,"diff_hunk":"@@ -0,0 +1,56 @@\n+#!groovy\n+\n+node ('docker') {\n+    stage 'init'\n+    //deleteDir()\n+    checkout scm\n+\n+    // Run selenium in a docker container of its own on the host.\n+    // It will output the selenium server address to ./target/.selenium_ip\n+    sh \"./start-selenium.sh\"\n+    def seleniumIP = readFile './target/.selenium_ip'\n+\n+    try {\n+        // Build an image from the the local Dockerfile\n+        def athImg = docker.build('blueocean-ath-builder')\n+\n+        // Expose the port on which the ATH Jenkins instance runs (12345), allowing the\n+        // Firefox browser (running in the selenium container) to make requests back\n+        // in etc.\n+        //\n+        // To bind in the local ~/.m2 when running in dev mode, simply add the following\n+        // volume binding to the \"inside\" container run settings (change username from \"tfennelly\"):\n+        //       -v /home/tfennelly/.m2:/home/bouser/.m2\n+        //\n+        athImg.inside(\"--expose=12345 -p 12345:12345\") {\n+            withEnv([\"BLUEO_SELENIUM_SERVER_ADDR=${seleniumIP}\"]) {\n+                try {\n+                    sh \"echo 'Starting build stage'\"\n+                    // Build blueocean and the ATH\n+                    stage 'build'\n+                    dir('blueocean-plugin') {","path":"Jenkinsfile","position":31,"original_position":31,"commit_id":"8288fd0d0896277accb8cd298dd412937e0bcf0c","original_commit_id":"8288fd0d0896277accb8cd298dd412937e0bcf0c","user":{"login":"scherler","id":596701,"avatar_url":"https://avatars.githubusercontent.com/u/596701?v=3","gravatar_id":"","url":"https://api.github.com/users/scherler","html_url":"https://github.com/scherler","followers_url":"https://api.github.com/users/scherler/followers","following_url":"https://api.github.com/users/scherler/following{/other_user}","gists_url":"https://api.github.com/users/scherler/gists{/gist_id}","starred_url":"https://api.github.com/users/scherler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scherler/subscriptions","organizations_url":"https://api.github.com/users/scherler/orgs","repos_url":"https://api.github.com/users/scherler/repos","events_url":"https://api.github.com/users/scherler/events{/privacy}","received_events_url":"https://api.github.com/users/scherler/received_events","type":"User","site_admin":false},"body":"couldn't we use a docker image instead to check out and build?\r\n\r\nFurther this checks put always master, right? Wouldn't we need as well the ability to fetch branches?","created_at":"2016-09-26T13:41:39Z","updated_at":"2016-09-26T13:42:19Z","html_url":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44#discussion_r80476748","pull_request_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/comments/80476748"},"html":{"href":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44#discussion_r80476748"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44","id":86627007,"html_url":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44","diff_url":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44.diff","patch_url":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44.patch","issue_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/44","number":44,"state":"open","locked":false,"title":"More ATH shenanigans + a Jenkinsfile","user":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\n\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-37918\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-37206\r\n\r\nSee https://ci.blueocean.io/job/ATH-Jenkinsfile/job/Jenkinsfile/\r\n\r\n# Submitter checklist\r\n- [ ] Link to JIRA ticket in description, if appropriate.\r\n- [x] Change is code complete and matches issue description\r\n- [x] Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.\r\n- [x] Ran Acceptance Test Harness against PR changes. Many many many many times 😄 \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 explanation given\r\n\r\n@jenkinsci/code-reviewers @reviewbybees \r\n","created_at":"2016-09-24T18:52:50Z","updated_at":"2016-09-26T13:42:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7d950a449084efb9babcbeed469d81091fdf005","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/44/comments","statuses_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/statuses/8288fd0d0896277accb8cd298dd412937e0bcf0c","head":{"label":"jenkinsci:Jenkinsfile","ref":"Jenkinsfile","sha":"8288fd0d0896277accb8cd298dd412937e0bcf0c","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":61347089,"name":"blueocean-acceptance-test","full_name":"jenkinsci/blueocean-acceptance-test","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/blueocean-acceptance-test","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test","forks_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/forks","keys_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/teams","hooks_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/events","assignees_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/tags","blobs_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/subscription","commits_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/merges","archive_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/downloads","issues_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/deployments","created_at":"2016-06-17T05:10:25Z","updated_at":"2016-09-05T20:22:39Z","pushed_at":"2016-09-24T18:52:51Z","git_url":"git://github.com/jenkinsci/blueocean-acceptance-test.git","ssh_url":"git@github.com:jenkinsci/blueocean-acceptance-test.git","clone_url":"https://github.com/jenkinsci/blueocean-acceptance-test.git","svn_url":"https://github.com/jenkinsci/blueocean-acceptance-test","homepage":null,"size":980,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"a5c04bbb166baf10ddc68cb58980fc82ded58441","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":61347089,"name":"blueocean-acceptance-test","full_name":"jenkinsci/blueocean-acceptance-test","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/blueocean-acceptance-test","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test","forks_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/forks","keys_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/teams","hooks_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/events","assignees_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/tags","blobs_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/subscription","commits_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/merges","archive_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/downloads","issues_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/deployments","created_at":"2016-06-17T05:10:25Z","updated_at":"2016-09-05T20:22:39Z","pushed_at":"2016-09-24T18:52:51Z","git_url":"git://github.com/jenkinsci/blueocean-acceptance-test.git","ssh_url":"git@github.com:jenkinsci/blueocean-acceptance-test.git","clone_url":"https://github.com/jenkinsci/blueocean-acceptance-test.git","svn_url":"https://github.com/jenkinsci/blueocean-acceptance-test","homepage":null,"size":980,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44"},"html":{"href":"https://github.com/jenkinsci/blueocean-acceptance-test/pull/44"},"issue":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/44"},"comments":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/blueocean-acceptance-test/statuses/8288fd0d0896277accb8cd298dd412937e0bcf0c"}}}}
{"actor":{"display_login":"scherler"}}