{"action":"created","comment":{"url":"https://api.github.com/repos/edx/tubular/pulls/comments/89389415","pull_request_review_id":9935469,"id":89389415,"diff_hunk":"@@ -19,43 +19,50 @@\n     help=\"The base jenkins URL. E.g. https://test-jenkins.testeng.edx.org\",\n     type=str,\n     required=True,\n+    envvar='JENKINS_URL',\n     default=\"https://test-jenkins.testeng.edx.org\"\n )\n @click.option(\n     \"--user_name\",\n     help=\"The Jenkins username for triggering the job.\",\n     type=str,\n-    required=True\n+    required=True,\n+    envvar='JENKINS_USER_NAME'\n )\n @click.option(\n     \"--user_token\",\n     help=\"API token for the user. Available at {url}/user/{user_name)/configure\",\n     type=str,\n-    required=True\n+    required=True,\n+    envvar='JENKINS_USER_TOKEN'\n )\n @click.option(\n     \"--job\",\n     help=\"The name of the jenkins job. E.g. test-project\",\n     type=str,\n-    required=True\n+    required=True,\n+    envvar='JENKINS_JOB_NAME'\n )\n @click.option(\n     \"--token\",\n     help=\"The authorization token for the job. Must match that configured in the job definition.\",\n     type=str,\n-    required=True\n+    required=True,\n+    envvar='JENKINS_JOB_TOKEN'\n )\n @click.option(\n     \"--cause\",\n     help=\"Text that will be included in the recorded build cause.\",\n     type=str,\n-    required=False\n+    required=False,\n+    envvar='JENKINS_CAUSE'\n )\n @click.option(\n     '--param',\n     help='Key/value pairs to pass to the job as parameters. E.g. --param FOO bar --param BAZ biz',\n     multiple=True,\n     required=False,\n+    envvar='JENKINS_PARAM',","path":"scripts/jenkins_trigger_build.py","position":52,"original_position":52,"commit_id":"75686aee6b2850981aafe9cb169264b36d3c5186","original_commit_id":"75686aee6b2850981aafe9cb169264b36d3c5186","user":{"login":"jmbowman","id":1005375,"avatar_url":"https://avatars.githubusercontent.com/u/1005375?v=3","gravatar_id":"","url":"https://api.github.com/users/jmbowman","html_url":"https://github.com/jmbowman","followers_url":"https://api.github.com/users/jmbowman/followers","following_url":"https://api.github.com/users/jmbowman/following{/other_user}","gists_url":"https://api.github.com/users/jmbowman/gists{/gist_id}","starred_url":"https://api.github.com/users/jmbowman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmbowman/subscriptions","organizations_url":"https://api.github.com/users/jmbowman/orgs","repos_url":"https://api.github.com/users/jmbowman/repos","events_url":"https://api.github.com/users/jmbowman/events{/privacy}","received_events_url":"https://api.github.com/users/jmbowman/received_events","type":"User","site_admin":false},"body":"In the environment variable?  Looks like you can just [space separate them](http://click.pocoo.org/5/options/#multiple-values-from-environment-values).","created_at":"2016-11-23T19:56:53Z","updated_at":"2016-11-23T19:56:53Z","html_url":"https://github.com/edx/tubular/pull/80#discussion_r89389415","pull_request_url":"https://api.github.com/repos/edx/tubular/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/edx/tubular/pulls/comments/89389415"},"html":{"href":"https://github.com/edx/tubular/pull/80#discussion_r89389415"},"pull_request":{"href":"https://api.github.com/repos/edx/tubular/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/edx/tubular/pulls/80","id":95067746,"html_url":"https://github.com/edx/tubular/pull/80","diff_url":"https://github.com/edx/tubular/pull/80.diff","patch_url":"https://github.com/edx/tubular/pull/80.patch","issue_url":"https://api.github.com/repos/edx/tubular/issues/80","number":80,"state":"open","locked":false,"title":"Add system environment variables for options in triggering jenkins jobs","user":{"login":"jzoldak","id":2338889,"avatar_url":"https://avatars.githubusercontent.com/u/2338889?v=3","gravatar_id":"","url":"https://api.github.com/users/jzoldak","html_url":"https://github.com/jzoldak","followers_url":"https://api.github.com/users/jzoldak/followers","following_url":"https://api.github.com/users/jzoldak/following{/other_user}","gists_url":"https://api.github.com/users/jzoldak/gists{/gist_id}","starred_url":"https://api.github.com/users/jzoldak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzoldak/subscriptions","organizations_url":"https://api.github.com/users/jzoldak/orgs","repos_url":"https://api.github.com/users/jzoldak/repos","events_url":"https://api.github.com/users/jzoldak/events{/privacy}","received_events_url":"https://api.github.com/users/jzoldak/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-23T19:41:41Z","updated_at":"2016-11-23T19:56:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8668ad154a2b972b8de3d223f6e0b91ff2c188f3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/tubular/pulls/80/commits","review_comments_url":"https://api.github.com/repos/edx/tubular/pulls/80/comments","review_comment_url":"https://api.github.com/repos/edx/tubular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/tubular/issues/80/comments","statuses_url":"https://api.github.com/repos/edx/tubular/statuses/75686aee6b2850981aafe9cb169264b36d3c5186","head":{"label":"edx:zoldak/TE-1638","ref":"zoldak/TE-1638","sha":"75686aee6b2850981aafe9cb169264b36d3c5186","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":49446584,"name":"tubular","full_name":"edx/tubular","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/tubular","description":"A repo for edx pipeline related scripts.","fork":false,"url":"https://api.github.com/repos/edx/tubular","forks_url":"https://api.github.com/repos/edx/tubular/forks","keys_url":"https://api.github.com/repos/edx/tubular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/tubular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/tubular/teams","hooks_url":"https://api.github.com/repos/edx/tubular/hooks","issue_events_url":"https://api.github.com/repos/edx/tubular/issues/events{/number}","events_url":"https://api.github.com/repos/edx/tubular/events","assignees_url":"https://api.github.com/repos/edx/tubular/assignees{/user}","branches_url":"https://api.github.com/repos/edx/tubular/branches{/branch}","tags_url":"https://api.github.com/repos/edx/tubular/tags","blobs_url":"https://api.github.com/repos/edx/tubular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/tubular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/tubular/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/tubular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/tubular/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/tubular/languages","stargazers_url":"https://api.github.com/repos/edx/tubular/stargazers","contributors_url":"https://api.github.com/repos/edx/tubular/contributors","subscribers_url":"https://api.github.com/repos/edx/tubular/subscribers","subscription_url":"https://api.github.com/repos/edx/tubular/subscription","commits_url":"https://api.github.com/repos/edx/tubular/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/tubular/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/tubular/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/tubular/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/tubular/contents/{+path}","compare_url":"https://api.github.com/repos/edx/tubular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/tubular/merges","archive_url":"https://api.github.com/repos/edx/tubular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/tubular/downloads","issues_url":"https://api.github.com/repos/edx/tubular/issues{/number}","pulls_url":"https://api.github.com/repos/edx/tubular/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/tubular/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/tubular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/tubular/labels{/name}","releases_url":"https://api.github.com/repos/edx/tubular/releases{/id}","deployments_url":"https://api.github.com/repos/edx/tubular/deployments","created_at":"2016-01-11T18:47:32Z","updated_at":"2016-01-14T21:51:30Z","pushed_at":"2016-11-23T19:41:41Z","git_url":"git://github.com/edx/tubular.git","ssh_url":"git@github.com:edx/tubular.git","clone_url":"https://github.com/edx/tubular.git","svn_url":"https://github.com/edx/tubular","homepage":null,"size":223,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"cb3d084bd38c27c1e434c533b53cf4bbdb78ac8e","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":49446584,"name":"tubular","full_name":"edx/tubular","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/tubular","description":"A repo for edx pipeline related scripts.","fork":false,"url":"https://api.github.com/repos/edx/tubular","forks_url":"https://api.github.com/repos/edx/tubular/forks","keys_url":"https://api.github.com/repos/edx/tubular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/tubular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/tubular/teams","hooks_url":"https://api.github.com/repos/edx/tubular/hooks","issue_events_url":"https://api.github.com/repos/edx/tubular/issues/events{/number}","events_url":"https://api.github.com/repos/edx/tubular/events","assignees_url":"https://api.github.com/repos/edx/tubular/assignees{/user}","branches_url":"https://api.github.com/repos/edx/tubular/branches{/branch}","tags_url":"https://api.github.com/repos/edx/tubular/tags","blobs_url":"https://api.github.com/repos/edx/tubular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/tubular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/tubular/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/tubular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/tubular/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/tubular/languages","stargazers_url":"https://api.github.com/repos/edx/tubular/stargazers","contributors_url":"https://api.github.com/repos/edx/tubular/contributors","subscribers_url":"https://api.github.com/repos/edx/tubular/subscribers","subscription_url":"https://api.github.com/repos/edx/tubular/subscription","commits_url":"https://api.github.com/repos/edx/tubular/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/tubular/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/tubular/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/tubular/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/tubular/contents/{+path}","compare_url":"https://api.github.com/repos/edx/tubular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/tubular/merges","archive_url":"https://api.github.com/repos/edx/tubular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/tubular/downloads","issues_url":"https://api.github.com/repos/edx/tubular/issues{/number}","pulls_url":"https://api.github.com/repos/edx/tubular/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/tubular/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/tubular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/tubular/labels{/name}","releases_url":"https://api.github.com/repos/edx/tubular/releases{/id}","deployments_url":"https://api.github.com/repos/edx/tubular/deployments","created_at":"2016-01-11T18:47:32Z","updated_at":"2016-01-14T21:51:30Z","pushed_at":"2016-11-23T19:41:41Z","git_url":"git://github.com/edx/tubular.git","ssh_url":"git@github.com:edx/tubular.git","clone_url":"https://github.com/edx/tubular.git","svn_url":"https://github.com/edx/tubular","homepage":null,"size":223,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/tubular/pulls/80"},"html":{"href":"https://github.com/edx/tubular/pull/80"},"issue":{"href":"https://api.github.com/repos/edx/tubular/issues/80"},"comments":{"href":"https://api.github.com/repos/edx/tubular/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/tubular/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/tubular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/tubular/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/edx/tubular/statuses/75686aee6b2850981aafe9cb169264b36d3c5186"}}}}
{"actor":{"display_login":"jmbowman"}}