{"action":"created","comment":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/172401715","pull_request_review_id":101410491,"id":172401715,"diff_hunk":"@@ -0,0 +1,112 @@\n+---\n+layout: main\n+title: ジョブの設定\n+category: User Guide\n+menu: menu_ja\n+toc:\n+- title: ジョブの設定\n+  url: \"#ジョブの設定\"\n+- title: イメージ\n+  url: \"#イメージ\"\n+- title: ステップ\n+  url: \"#ステップ\"\n+- title: 共通設定\n+  url: \"#共通設定\"\n+---\n+\n+# ジョブの設定\n+\n+ジョブは、全てのビルドでどのようなことを行うのかということの設定です。ジョブの設定は一つの`image`とリストの`steps`、または`template`を含んでいる必要があります。また、`requires`を使用することで、ジョブのトリガーを指定することもできます。パイプラインワークフローを作成するための`requires`の詳しい使用方法は[workflow](/user-guide/configuration/workflow)を参照してください。\n+\n+#### 例\n+\n+```\n+jobs:\n+    main:\n+        image: node:6\n+        steps:\n+            - init: npm install\n+            - test: npm test\n+    main2: \n+        template: example/mytemplate@stable\n+```\n+\n+## イメージ\n+\n+`image`の設定はDockerのイメージ、例えば\n+ (hub.docker.com)[https://hub.docker.com] からコンテナを指定します。完全なURLを指定することで、カスタムレジストリからイメージを指定することも出来ます。","path":"docs/ja/user-guide/configuration/jobconfiguration.md","position":null,"original_position":37,"commit_id":"246bca173cb54e038349389b9dfb9409010a6f1e","original_commit_id":"53ebc45ec11fa71b186ed44c54d54937a1d45a27","user":{"login":"kumada626","id":8113204,"avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"body":"リンクに修正しました","created_at":"2018-03-06T03:41:09Z","updated_at":"2018-03-06T03:41:09Z","html_url":"https://github.com/screwdriver-cd/guide/pull/151#discussion_r172401715","pull_request_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/172401715"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/151#discussion_r172401715"},"pull_request":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151"}},"in_reply_to_id":172380323},"pull_request":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151","id":173028440,"html_url":"https://github.com/screwdriver-cd/guide/pull/151","diff_url":"https://github.com/screwdriver-cd/guide/pull/151.diff","patch_url":"https://github.com/screwdriver-cd/guide/pull/151.patch","issue_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/151","number":151,"state":"open","locked":false,"title":"docs: Japanese translation of jobconfiguration page.","user":{"login":"kumada626","id":8113204,"avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"body":"I translated the jobconfiguration page into Japanese.\n\n[Check out a review request at GitLocalize](https://gitlocalize.com/repo/160/ja/review/660)","created_at":"2018-03-06T00:44:32Z","updated_at":"2018-03-06T03:41:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e979ee4417a6d23f9ababa714b79b42cf7703ea9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151/commits","review_comments_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151/comments","review_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/151/comments","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/246bca173cb54e038349389b9dfb9409010a6f1e","head":{"label":"kumada626:gitlocalize-552","ref":"gitlocalize-552","sha":"246bca173cb54e038349389b9dfb9409010a6f1e","user":{"login":"kumada626","id":8113204,"avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"repo":{"id":96425730,"name":"guide","full_name":"kumada626/guide","owner":{"login":"kumada626","id":8113204,"avatar_url":"https://avatars1.githubusercontent.com/u/8113204?v=4","gravatar_id":"","url":"https://api.github.com/users/kumada626","html_url":"https://github.com/kumada626","followers_url":"https://api.github.com/users/kumada626/followers","following_url":"https://api.github.com/users/kumada626/following{/other_user}","gists_url":"https://api.github.com/users/kumada626/gists{/gist_id}","starred_url":"https://api.github.com/users/kumada626/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumada626/subscriptions","organizations_url":"https://api.github.com/users/kumada626/orgs","repos_url":"https://api.github.com/users/kumada626/repos","events_url":"https://api.github.com/users/kumada626/events{/privacy}","received_events_url":"https://api.github.com/users/kumada626/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kumada626/guide","description":"Screwdriver Documentation","fork":true,"url":"https://api.github.com/repos/kumada626/guide","forks_url":"https://api.github.com/repos/kumada626/guide/forks","keys_url":"https://api.github.com/repos/kumada626/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kumada626/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kumada626/guide/teams","hooks_url":"https://api.github.com/repos/kumada626/guide/hooks","issue_events_url":"https://api.github.com/repos/kumada626/guide/issues/events{/number}","events_url":"https://api.github.com/repos/kumada626/guide/events","assignees_url":"https://api.github.com/repos/kumada626/guide/assignees{/user}","branches_url":"https://api.github.com/repos/kumada626/guide/branches{/branch}","tags_url":"https://api.github.com/repos/kumada626/guide/tags","blobs_url":"https://api.github.com/repos/kumada626/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kumada626/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kumada626/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/kumada626/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kumada626/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/kumada626/guide/languages","stargazers_url":"https://api.github.com/repos/kumada626/guide/stargazers","contributors_url":"https://api.github.com/repos/kumada626/guide/contributors","subscribers_url":"https://api.github.com/repos/kumada626/guide/subscribers","subscription_url":"https://api.github.com/repos/kumada626/guide/subscription","commits_url":"https://api.github.com/repos/kumada626/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/kumada626/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/kumada626/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/kumada626/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/kumada626/guide/contents/{+path}","compare_url":"https://api.github.com/repos/kumada626/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kumada626/guide/merges","archive_url":"https://api.github.com/repos/kumada626/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kumada626/guide/downloads","issues_url":"https://api.github.com/repos/kumada626/guide/issues{/number}","pulls_url":"https://api.github.com/repos/kumada626/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/kumada626/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/kumada626/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kumada626/guide/labels{/name}","releases_url":"https://api.github.com/repos/kumada626/guide/releases{/id}","deployments_url":"https://api.github.com/repos/kumada626/guide/deployments","created_at":"2017-07-06T12:03:29Z","updated_at":"2017-07-19T21:48:01Z","pushed_at":"2018-03-06T03:39:08Z","git_url":"git://github.com/kumada626/guide.git","ssh_url":"git@github.com:kumada626/guide.git","clone_url":"https://github.com/kumada626/guide.git","svn_url":"https://github.com/kumada626/guide","homepage":"https://screwdriver-cd.github.io/guide/","size":7427,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"screwdriver-cd:master","ref":"master","sha":"503e2b876afc62e31e5b69de1900f33f47582cff","user":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":61775855,"name":"guide","full_name":"screwdriver-cd/guide","owner":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/screwdriver-cd/guide","description":"Screwdriver.cd Documentation","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/guide","forks_url":"https://api.github.com/repos/screwdriver-cd/guide/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/guide/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/guide/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/guide/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/guide/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/guide/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/guide/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/guide/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/guide/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/guide/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/guide/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/guide/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/guide/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/guide/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/guide/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/guide/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/guide/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/guide/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/guide/deployments","created_at":"2016-06-23T05:18:23Z","updated_at":"2018-02-16T04:18:05Z","pushed_at":"2018-03-06T03:39:09Z","git_url":"git://github.com/screwdriver-cd/guide.git","ssh_url":"git@github.com:screwdriver-cd/guide.git","clone_url":"https://github.com/screwdriver-cd/guide.git","svn_url":"https://github.com/screwdriver-cd/guide","homepage":"http://docs.screwdriver.cd","size":8208,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":27,"open_issues":1,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/151"},"issue":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/151"},"comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/screwdriver-cd/guide/statuses/246bca173cb54e038349389b9dfb9409010a6f1e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kumada626"}}