{"action":"created","comment":{"url":"https://api.github.com/repos/ProboCI/probo/pulls/comments/49162497","id":49162497,"diff_hunk":"@@ -36,6 +36,9 @@ module.exports = class Script extends require('./AbstractPlugin') {\n       'set -x',\n       // Default CWD to $SRC_DIR (create it if it it doesn't exist).\n       'mkdir -p $SRC_DIR; cd $SRC_DIR',\n+      // add build domain\n+      `export BUILD_DOMAIN=${this.container.build.links.build}`,","path":"lib/plugins/TaskRunner/Script.js","position":5,"original_position":5,"commit_id":"9115cb68c9051fbf4dd33eb95e47b226aabf3930","original_commit_id":"9115cb68c9051fbf4dd33eb95e47b226aabf3930","user":{"login":"zanchin","id":281978,"avatar_url":"https://avatars.githubusercontent.com/u/281978?v=3","gravatar_id":"","url":"https://api.github.com/users/zanchin","html_url":"https://github.com/zanchin","followers_url":"https://api.github.com/users/zanchin/followers","following_url":"https://api.github.com/users/zanchin/following{/other_user}","gists_url":"https://api.github.com/users/zanchin/gists{/gist_id}","starred_url":"https://api.github.com/users/zanchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanchin/subscriptions","organizations_url":"https://api.github.com/users/zanchin/orgs","repos_url":"https://api.github.com/users/zanchin/repos","events_url":"https://api.github.com/users/zanchin/events{/privacy}","received_events_url":"https://api.github.com/users/zanchin/received_events","type":"User","site_admin":false},"body":"BUILD_DOMAIN needs to be setup as an environment variable at container creation: https://github.com/ProboCI/probo/blob/add-generic-lamp-task-plugin/lib/Container.js#L157\r\n","created_at":"2016-01-08T06:50:29Z","updated_at":"2016-01-08T06:50:29Z","html_url":"https://github.com/ProboCI/probo/pull/26#discussion_r49162497","pull_request_url":"https://api.github.com/repos/ProboCI/probo/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/comments/49162497"},"html":{"href":"https://github.com/ProboCI/probo/pull/26#discussion_r49162497"},"pull_request":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/ProboCI/probo/pulls/26","id":53888458,"html_url":"https://github.com/ProboCI/probo/pull/26","diff_url":"https://github.com/ProboCI/probo/pull/26.diff","patch_url":"https://github.com/ProboCI/probo/pull/26.patch","issue_url":"https://api.github.com/repos/ProboCI/probo/issues/26","number":26,"state":"open","locked":false,"title":"Creating a more generic LAMPApp provisioner plugin","user":{"login":"tizzo","id":245728,"avatar_url":"https://avatars.githubusercontent.com/u/245728?v=3","gravatar_id":"","url":"https://api.github.com/users/tizzo","html_url":"https://github.com/tizzo","followers_url":"https://api.github.com/users/tizzo/followers","following_url":"https://api.github.com/users/tizzo/following{/other_user}","gists_url":"https://api.github.com/users/tizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/tizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tizzo/subscriptions","organizations_url":"https://api.github.com/users/tizzo/orgs","repos_url":"https://api.github.com/users/tizzo/repos","events_url":"https://api.github.com/users/tizzo/events{/privacy}","received_events_url":"https://api.github.com/users/tizzo/received_events","type":"User","site_admin":false},"body":"A bunch of what the [Drupal provisioner plugin](https://github.com/ProboCI/probo/blob/master/lib/plugins/TaskRunner/Drupal.js) does is generic, we should move that into a generic lamp class which Drupal, Wordpress, and other plugins can inherit from.","created_at":"2015-12-16T19:44:38Z","updated_at":"2016-01-08T06:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"592c606bad336c0c6643dfec7579eeb7eb438f85","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ProboCI/probo/pulls/26/commits","review_comments_url":"https://api.github.com/repos/ProboCI/probo/pulls/26/comments","review_comment_url":"https://api.github.com/repos/ProboCI/probo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProboCI/probo/issues/26/comments","statuses_url":"https://api.github.com/repos/ProboCI/probo/statuses/9115cb68c9051fbf4dd33eb95e47b226aabf3930","head":{"label":"ProboCI:add-generic-lamp-task-plugin","ref":"add-generic-lamp-task-plugin","sha":"9115cb68c9051fbf4dd33eb95e47b226aabf3930","user":{"login":"ProboCI","id":12071240,"avatar_url":"https://avatars.githubusercontent.com/u/12071240?v=3","gravatar_id":"","url":"https://api.github.com/users/ProboCI","html_url":"https://github.com/ProboCI","followers_url":"https://api.github.com/users/ProboCI/followers","following_url":"https://api.github.com/users/ProboCI/following{/other_user}","gists_url":"https://api.github.com/users/ProboCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ProboCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProboCI/subscriptions","organizations_url":"https://api.github.com/users/ProboCI/orgs","repos_url":"https://api.github.com/users/ProboCI/repos","events_url":"https://api.github.com/users/ProboCI/events{/privacy}","received_events_url":"https://api.github.com/users/ProboCI/received_events","type":"Organization","site_admin":false},"repo":{"id":19395939,"name":"probo","full_name":"ProboCI/probo","owner":{"login":"ProboCI","id":12071240,"avatar_url":"https://avatars.githubusercontent.com/u/12071240?v=3","gravatar_id":"","url":"https://api.github.com/users/ProboCI","html_url":"https://github.com/ProboCI","followers_url":"https://api.github.com/users/ProboCI/followers","following_url":"https://api.github.com/users/ProboCI/following{/other_user}","gists_url":"https://api.github.com/users/ProboCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ProboCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProboCI/subscriptions","organizations_url":"https://api.github.com/users/ProboCI/orgs","repos_url":"https://api.github.com/users/ProboCI/repos","events_url":"https://api.github.com/users/ProboCI/events{/privacy}","received_events_url":"https://api.github.com/users/ProboCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProboCI/probo","description":"Open source continuous integration and quality assurance.","fork":false,"url":"https://api.github.com/repos/ProboCI/probo","forks_url":"https://api.github.com/repos/ProboCI/probo/forks","keys_url":"https://api.github.com/repos/ProboCI/probo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProboCI/probo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProboCI/probo/teams","hooks_url":"https://api.github.com/repos/ProboCI/probo/hooks","issue_events_url":"https://api.github.com/repos/ProboCI/probo/issues/events{/number}","events_url":"https://api.github.com/repos/ProboCI/probo/events","assignees_url":"https://api.github.com/repos/ProboCI/probo/assignees{/user}","branches_url":"https://api.github.com/repos/ProboCI/probo/branches{/branch}","tags_url":"https://api.github.com/repos/ProboCI/probo/tags","blobs_url":"https://api.github.com/repos/ProboCI/probo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProboCI/probo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProboCI/probo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProboCI/probo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProboCI/probo/statuses/{sha}","languages_url":"https://api.github.com/repos/ProboCI/probo/languages","stargazers_url":"https://api.github.com/repos/ProboCI/probo/stargazers","contributors_url":"https://api.github.com/repos/ProboCI/probo/contributors","subscribers_url":"https://api.github.com/repos/ProboCI/probo/subscribers","subscription_url":"https://api.github.com/repos/ProboCI/probo/subscription","commits_url":"https://api.github.com/repos/ProboCI/probo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProboCI/probo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProboCI/probo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProboCI/probo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProboCI/probo/contents/{+path}","compare_url":"https://api.github.com/repos/ProboCI/probo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProboCI/probo/merges","archive_url":"https://api.github.com/repos/ProboCI/probo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProboCI/probo/downloads","issues_url":"https://api.github.com/repos/ProboCI/probo/issues{/number}","pulls_url":"https://api.github.com/repos/ProboCI/probo/pulls{/number}","milestones_url":"https://api.github.com/repos/ProboCI/probo/milestones{/number}","notifications_url":"https://api.github.com/repos/ProboCI/probo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProboCI/probo/labels{/name}","releases_url":"https://api.github.com/repos/ProboCI/probo/releases{/id}","created_at":"2014-05-03T05:10:14Z","updated_at":"2016-01-05T13:36:25Z","pushed_at":"2016-01-07T21:18:42Z","git_url":"git://github.com/ProboCI/probo.git","ssh_url":"git@github.com:ProboCI/probo.git","clone_url":"https://github.com/ProboCI/probo.git","svn_url":"https://github.com/ProboCI/probo","homepage":"","size":467,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":9,"forks":5,"open_issues":9,"watchers":24,"default_branch":"master"}},"base":{"label":"ProboCI:master","ref":"master","sha":"a056ff58a020dec3d46a4ad14be90c46a7e5d712","user":{"login":"ProboCI","id":12071240,"avatar_url":"https://avatars.githubusercontent.com/u/12071240?v=3","gravatar_id":"","url":"https://api.github.com/users/ProboCI","html_url":"https://github.com/ProboCI","followers_url":"https://api.github.com/users/ProboCI/followers","following_url":"https://api.github.com/users/ProboCI/following{/other_user}","gists_url":"https://api.github.com/users/ProboCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ProboCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProboCI/subscriptions","organizations_url":"https://api.github.com/users/ProboCI/orgs","repos_url":"https://api.github.com/users/ProboCI/repos","events_url":"https://api.github.com/users/ProboCI/events{/privacy}","received_events_url":"https://api.github.com/users/ProboCI/received_events","type":"Organization","site_admin":false},"repo":{"id":19395939,"name":"probo","full_name":"ProboCI/probo","owner":{"login":"ProboCI","id":12071240,"avatar_url":"https://avatars.githubusercontent.com/u/12071240?v=3","gravatar_id":"","url":"https://api.github.com/users/ProboCI","html_url":"https://github.com/ProboCI","followers_url":"https://api.github.com/users/ProboCI/followers","following_url":"https://api.github.com/users/ProboCI/following{/other_user}","gists_url":"https://api.github.com/users/ProboCI/gists{/gist_id}","starred_url":"https://api.github.com/users/ProboCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProboCI/subscriptions","organizations_url":"https://api.github.com/users/ProboCI/orgs","repos_url":"https://api.github.com/users/ProboCI/repos","events_url":"https://api.github.com/users/ProboCI/events{/privacy}","received_events_url":"https://api.github.com/users/ProboCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProboCI/probo","description":"Open source continuous integration and quality assurance.","fork":false,"url":"https://api.github.com/repos/ProboCI/probo","forks_url":"https://api.github.com/repos/ProboCI/probo/forks","keys_url":"https://api.github.com/repos/ProboCI/probo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProboCI/probo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProboCI/probo/teams","hooks_url":"https://api.github.com/repos/ProboCI/probo/hooks","issue_events_url":"https://api.github.com/repos/ProboCI/probo/issues/events{/number}","events_url":"https://api.github.com/repos/ProboCI/probo/events","assignees_url":"https://api.github.com/repos/ProboCI/probo/assignees{/user}","branches_url":"https://api.github.com/repos/ProboCI/probo/branches{/branch}","tags_url":"https://api.github.com/repos/ProboCI/probo/tags","blobs_url":"https://api.github.com/repos/ProboCI/probo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProboCI/probo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProboCI/probo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProboCI/probo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProboCI/probo/statuses/{sha}","languages_url":"https://api.github.com/repos/ProboCI/probo/languages","stargazers_url":"https://api.github.com/repos/ProboCI/probo/stargazers","contributors_url":"https://api.github.com/repos/ProboCI/probo/contributors","subscribers_url":"https://api.github.com/repos/ProboCI/probo/subscribers","subscription_url":"https://api.github.com/repos/ProboCI/probo/subscription","commits_url":"https://api.github.com/repos/ProboCI/probo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProboCI/probo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProboCI/probo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProboCI/probo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProboCI/probo/contents/{+path}","compare_url":"https://api.github.com/repos/ProboCI/probo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProboCI/probo/merges","archive_url":"https://api.github.com/repos/ProboCI/probo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProboCI/probo/downloads","issues_url":"https://api.github.com/repos/ProboCI/probo/issues{/number}","pulls_url":"https://api.github.com/repos/ProboCI/probo/pulls{/number}","milestones_url":"https://api.github.com/repos/ProboCI/probo/milestones{/number}","notifications_url":"https://api.github.com/repos/ProboCI/probo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProboCI/probo/labels{/name}","releases_url":"https://api.github.com/repos/ProboCI/probo/releases{/id}","created_at":"2014-05-03T05:10:14Z","updated_at":"2016-01-05T13:36:25Z","pushed_at":"2016-01-07T21:18:42Z","git_url":"git://github.com/ProboCI/probo.git","ssh_url":"git@github.com:ProboCI/probo.git","clone_url":"https://github.com/ProboCI/probo.git","svn_url":"https://github.com/ProboCI/probo","homepage":"","size":467,"stargazers_count":24,"watchers_count":24,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":9,"forks":5,"open_issues":9,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/26"},"html":{"href":"https://github.com/ProboCI/probo/pull/26"},"issue":{"href":"https://api.github.com/repos/ProboCI/probo/issues/26"},"comments":{"href":"https://api.github.com/repos/ProboCI/probo/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProboCI/probo/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/ProboCI/probo/statuses/9115cb68c9051fbf4dd33eb95e47b226aabf3930"}}}}