{"action":"created","comment":{"url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/comments/106610808","pull_request_review_id":27540996,"id":106610808,"diff_hunk":"@@ -0,0 +1,161 @@\n+---\n+layout: post\n+title: \"Build a multiple repository pull request test\"\n+date: \"2017-04-19 10:00:00\"\n+image: blog-header/challenge-cube.jpg\n+categories: tech-stories\n+authors: [\"Florian Z.\"]\n+---\n+\n+Did you ever face the problem of building a feature over multiple repositories?\n+If you start testing the single repository, you may have unknown side effects when your code is rolled out.\n+On the other hand, if you start testing the repositories together, you may have an inconsistent state of one of your code changes.\n+This will lead to either errors in the test suite or wrong testing results.\n+Broken tests, wrong test results and unknown side effects cause a pipeline to misses its validity.\n+Developing effort and the risk of loss of quality increases significantly, but you can solve the situation with building up a multiple repositories pull request test.\n+\n+### 1. How do we prepare the test?\n+The solution is as simple as complicated: Your Pull request has to know, which code change belongs to a specific feature.\n+While using three different repositories, how can you achieve to test all changes at once?\n+Three things are necessary:\n+* GitHub Organizational Plugin,\n+* Pipeline plugin,\n+* naming convention.\n+\n+### 2. Why do we need those things?\n+You can use the [Github Organizational Folder Plugin](https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Organization+Folder+Plugin) to check your repositories for new Pull request.\n+This plugin will check every affected repository for changes and activate the Jenkinsfile in the main directory, if a change was made.\n+\n+You can create a [Jenkinsfile](https://jenkins.io/doc/book/pipeline/jenkinsfile/) at a repository, which will be triggered after a Pull request.","path":"_posts/2017/2017-04-19-build-a-multiple-repository-pull-request-test.md","position":29,"original_position":29,"commit_id":"36aa1efcdd6e7f886cc57b8ea6d2d30ee1dc4b90","original_commit_id":"36aa1efcdd6e7f886cc57b8ea6d2d30ee1dc4b90","user":{"login":"BirgitBader","id":10460958,"avatar_url":"https://avatars1.githubusercontent.com/u/10460958?v=3","gravatar_id":"","url":"https://api.github.com/users/BirgitBader","html_url":"https://github.com/BirgitBader","followers_url":"https://api.github.com/users/BirgitBader/followers","following_url":"https://api.github.com/users/BirgitBader/following{/other_user}","gists_url":"https://api.github.com/users/BirgitBader/gists{/gist_id}","starred_url":"https://api.github.com/users/BirgitBader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BirgitBader/subscriptions","organizations_url":"https://api.github.com/users/BirgitBader/orgs","repos_url":"https://api.github.com/users/BirgitBader/repos","events_url":"https://api.github.com/users/BirgitBader/events{/privacy}","received_events_url":"https://api.github.com/users/BirgitBader/received_events","type":"User","site_admin":false},"body":"... for a repository, which will be triggered after a pull request.","created_at":"2017-03-17T09:22:44Z","updated_at":"2017-03-17T09:22:44Z","html_url":"https://github.com/ePages-de/epages-docs/pull/753#discussion_r106610808","pull_request_url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753","_links":{"self":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/comments/106610808"},"html":{"href":"https://github.com/ePages-de/epages-docs/pull/753#discussion_r106610808"},"pull_request":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753"}}},"pull_request":{"url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753","id":110361137,"html_url":"https://github.com/ePages-de/epages-docs/pull/753","diff_url":"https://github.com/ePages-de/epages-docs/pull/753.diff","patch_url":"https://github.com/ePages-de/epages-docs/pull/753.patch","issue_url":"https://api.github.com/repos/ePages-de/epages-docs/issues/753","number":753,"state":"open","locked":false,"title":"[MUL-351] First draft of blog article.","user":{"login":"fziller","id":4570611,"avatar_url":"https://avatars0.githubusercontent.com/u/4570611?v=3","gravatar_id":"","url":"https://api.github.com/users/fziller","html_url":"https://github.com/fziller","followers_url":"https://api.github.com/users/fziller/followers","following_url":"https://api.github.com/users/fziller/following{/other_user}","gists_url":"https://api.github.com/users/fziller/gists{/gist_id}","starred_url":"https://api.github.com/users/fziller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fziller/subscriptions","organizations_url":"https://api.github.com/users/fziller/orgs","repos_url":"https://api.github.com/users/fziller/repos","events_url":"https://api.github.com/users/fziller/events{/privacy}","received_events_url":"https://api.github.com/users/fziller/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-13T08:56:37Z","updated_at":"2017-03-17T09:22:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d930407a34e0307404b4d10ad462171ac94dc2f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753/commits","review_comments_url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753/comments","review_comment_url":"https://api.github.com/repos/ePages-de/epages-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ePages-de/epages-docs/issues/753/comments","statuses_url":"https://api.github.com/repos/ePages-de/epages-docs/statuses/36aa1efcdd6e7f886cc57b8ea6d2d30ee1dc4b90","head":{"label":"fziller:MUL-351_MS_blog_article","ref":"MUL-351_MS_blog_article","sha":"36aa1efcdd6e7f886cc57b8ea6d2d30ee1dc4b90","user":{"login":"fziller","id":4570611,"avatar_url":"https://avatars0.githubusercontent.com/u/4570611?v=3","gravatar_id":"","url":"https://api.github.com/users/fziller","html_url":"https://github.com/fziller","followers_url":"https://api.github.com/users/fziller/followers","following_url":"https://api.github.com/users/fziller/following{/other_user}","gists_url":"https://api.github.com/users/fziller/gists{/gist_id}","starred_url":"https://api.github.com/users/fziller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fziller/subscriptions","organizations_url":"https://api.github.com/users/fziller/orgs","repos_url":"https://api.github.com/users/fziller/repos","events_url":"https://api.github.com/users/fziller/events{/privacy}","received_events_url":"https://api.github.com/users/fziller/received_events","type":"User","site_admin":false},"repo":{"id":59204472,"name":"epages-docs","full_name":"fziller/epages-docs","owner":{"login":"fziller","id":4570611,"avatar_url":"https://avatars0.githubusercontent.com/u/4570611?v=3","gravatar_id":"","url":"https://api.github.com/users/fziller","html_url":"https://github.com/fziller","followers_url":"https://api.github.com/users/fziller/followers","following_url":"https://api.github.com/users/fziller/following{/other_user}","gists_url":"https://api.github.com/users/fziller/gists{/gist_id}","starred_url":"https://api.github.com/users/fziller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fziller/subscriptions","organizations_url":"https://api.github.com/users/fziller/orgs","repos_url":"https://api.github.com/users/fziller/repos","events_url":"https://api.github.com/users/fziller/events{/privacy}","received_events_url":"https://api.github.com/users/fziller/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fziller/epages-docs","description":"Source of ePages Developer Portal","fork":true,"url":"https://api.github.com/repos/fziller/epages-docs","forks_url":"https://api.github.com/repos/fziller/epages-docs/forks","keys_url":"https://api.github.com/repos/fziller/epages-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fziller/epages-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fziller/epages-docs/teams","hooks_url":"https://api.github.com/repos/fziller/epages-docs/hooks","issue_events_url":"https://api.github.com/repos/fziller/epages-docs/issues/events{/number}","events_url":"https://api.github.com/repos/fziller/epages-docs/events","assignees_url":"https://api.github.com/repos/fziller/epages-docs/assignees{/user}","branches_url":"https://api.github.com/repos/fziller/epages-docs/branches{/branch}","tags_url":"https://api.github.com/repos/fziller/epages-docs/tags","blobs_url":"https://api.github.com/repos/fziller/epages-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fziller/epages-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fziller/epages-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/fziller/epages-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fziller/epages-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/fziller/epages-docs/languages","stargazers_url":"https://api.github.com/repos/fziller/epages-docs/stargazers","contributors_url":"https://api.github.com/repos/fziller/epages-docs/contributors","subscribers_url":"https://api.github.com/repos/fziller/epages-docs/subscribers","subscription_url":"https://api.github.com/repos/fziller/epages-docs/subscription","commits_url":"https://api.github.com/repos/fziller/epages-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/fziller/epages-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/fziller/epages-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/fziller/epages-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/fziller/epages-docs/contents/{+path}","compare_url":"https://api.github.com/repos/fziller/epages-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fziller/epages-docs/merges","archive_url":"https://api.github.com/repos/fziller/epages-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fziller/epages-docs/downloads","issues_url":"https://api.github.com/repos/fziller/epages-docs/issues{/number}","pulls_url":"https://api.github.com/repos/fziller/epages-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/fziller/epages-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/fziller/epages-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fziller/epages-docs/labels{/name}","releases_url":"https://api.github.com/repos/fziller/epages-docs/releases{/id}","deployments_url":"https://api.github.com/repos/fziller/epages-docs/deployments","created_at":"2016-05-19T12:31:18Z","updated_at":"2017-03-06T12:26:45Z","pushed_at":"2017-03-17T08:39:51Z","git_url":"git://github.com/fziller/epages-docs.git","ssh_url":"git@github.com:fziller/epages-docs.git","clone_url":"https://github.com/fziller/epages-docs.git","svn_url":"https://github.com/fziller/epages-docs","homepage":"https://developer.epages.com/","size":205868,"stargazers_count":0,"watchers_count":0,"language":"RAML","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":"develop"}},"base":{"label":"ePages-de:master","ref":"master","sha":"f6f90a0fe76ae558844c1c7153053fbb02198512","user":{"login":"ePages-de","id":1125854,"avatar_url":"https://avatars0.githubusercontent.com/u/1125854?v=3","gravatar_id":"","url":"https://api.github.com/users/ePages-de","html_url":"https://github.com/ePages-de","followers_url":"https://api.github.com/users/ePages-de/followers","following_url":"https://api.github.com/users/ePages-de/following{/other_user}","gists_url":"https://api.github.com/users/ePages-de/gists{/gist_id}","starred_url":"https://api.github.com/users/ePages-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ePages-de/subscriptions","organizations_url":"https://api.github.com/users/ePages-de/orgs","repos_url":"https://api.github.com/users/ePages-de/repos","events_url":"https://api.github.com/users/ePages-de/events{/privacy}","received_events_url":"https://api.github.com/users/ePages-de/received_events","type":"Organization","site_admin":false},"repo":{"id":30595510,"name":"epages-docs","full_name":"ePages-de/epages-docs","owner":{"login":"ePages-de","id":1125854,"avatar_url":"https://avatars0.githubusercontent.com/u/1125854?v=3","gravatar_id":"","url":"https://api.github.com/users/ePages-de","html_url":"https://github.com/ePages-de","followers_url":"https://api.github.com/users/ePages-de/followers","following_url":"https://api.github.com/users/ePages-de/following{/other_user}","gists_url":"https://api.github.com/users/ePages-de/gists{/gist_id}","starred_url":"https://api.github.com/users/ePages-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ePages-de/subscriptions","organizations_url":"https://api.github.com/users/ePages-de/orgs","repos_url":"https://api.github.com/users/ePages-de/repos","events_url":"https://api.github.com/users/ePages-de/events{/privacy}","received_events_url":"https://api.github.com/users/ePages-de/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ePages-de/epages-docs","description":"Source of ePages Developer Portal","fork":false,"url":"https://api.github.com/repos/ePages-de/epages-docs","forks_url":"https://api.github.com/repos/ePages-de/epages-docs/forks","keys_url":"https://api.github.com/repos/ePages-de/epages-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ePages-de/epages-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ePages-de/epages-docs/teams","hooks_url":"https://api.github.com/repos/ePages-de/epages-docs/hooks","issue_events_url":"https://api.github.com/repos/ePages-de/epages-docs/issues/events{/number}","events_url":"https://api.github.com/repos/ePages-de/epages-docs/events","assignees_url":"https://api.github.com/repos/ePages-de/epages-docs/assignees{/user}","branches_url":"https://api.github.com/repos/ePages-de/epages-docs/branches{/branch}","tags_url":"https://api.github.com/repos/ePages-de/epages-docs/tags","blobs_url":"https://api.github.com/repos/ePages-de/epages-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ePages-de/epages-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ePages-de/epages-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ePages-de/epages-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ePages-de/epages-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/ePages-de/epages-docs/languages","stargazers_url":"https://api.github.com/repos/ePages-de/epages-docs/stargazers","contributors_url":"https://api.github.com/repos/ePages-de/epages-docs/contributors","subscribers_url":"https://api.github.com/repos/ePages-de/epages-docs/subscribers","subscription_url":"https://api.github.com/repos/ePages-de/epages-docs/subscription","commits_url":"https://api.github.com/repos/ePages-de/epages-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ePages-de/epages-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ePages-de/epages-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ePages-de/epages-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ePages-de/epages-docs/contents/{+path}","compare_url":"https://api.github.com/repos/ePages-de/epages-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ePages-de/epages-docs/merges","archive_url":"https://api.github.com/repos/ePages-de/epages-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ePages-de/epages-docs/downloads","issues_url":"https://api.github.com/repos/ePages-de/epages-docs/issues{/number}","pulls_url":"https://api.github.com/repos/ePages-de/epages-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/ePages-de/epages-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/ePages-de/epages-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ePages-de/epages-docs/labels{/name}","releases_url":"https://api.github.com/repos/ePages-de/epages-docs/releases{/id}","deployments_url":"https://api.github.com/repos/ePages-de/epages-docs/deployments","created_at":"2015-02-10T14:20:56Z","updated_at":"2017-02-19T12:01:07Z","pushed_at":"2017-03-17T09:08:34Z","git_url":"git://github.com/ePages-de/epages-docs.git","ssh_url":"git@github.com:ePages-de/epages-docs.git","clone_url":"https://github.com/ePages-de/epages-docs.git","svn_url":"https://github.com/ePages-de/epages-docs","homepage":"https://developer.epages.com/","size":207417,"stargazers_count":10,"watchers_count":10,"language":"RAML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":8,"forks":50,"open_issues":8,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753"},"html":{"href":"https://github.com/ePages-de/epages-docs/pull/753"},"issue":{"href":"https://api.github.com/repos/ePages-de/epages-docs/issues/753"},"comments":{"href":"https://api.github.com/repos/ePages-de/epages-docs/issues/753/comments"},"review_comments":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753/comments"},"review_comment":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ePages-de/epages-docs/pulls/753/commits"},"statuses":{"href":"https://api.github.com/repos/ePages-de/epages-docs/statuses/36aa1efcdd6e7f886cc57b8ea6d2d30ee1dc4b90"}}}}
{"actor":{"display_login":"BirgitBader"}}