{"action":"created","comment":{"url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments/225961300","pull_request_review_id":165670699,"id":225961300,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTk2MTMwMA==","diff_hunk":"@@ -50,12 +51,46 @@ jobs:\n                 cp -pR scenarioo-validator/build/test-results/test test-results/validator || true\n                 cp -pR scenarioo-docu-generation-example/build/test-results/test test-results/docu || true\n               when: always\n+          - run:\n+              name: Publish docu on demo.scenarioo.org/scenarioo-develop\n+              command: |\n+                pushd e2eScenariooDocu\n+                zip -r ../e2eScenariooDocu.zip ./*\n+                popd\n+                curl -f --user scenarioo:$TOMCAT_USER_PASSWORD -F\"file=@e2eScenariooDocu.zip\" http://demo.scenarioo.org:8080/scenarioo-develop/rest/builds\n+              when: always\n           - store_test_results:\n               path: test-results\n           - store_artifacts:\n               path: test-results\n-          - store_artifacts:\n-              path: e2eScenariooDocu\n+              destination: /test-results\n+\n+          # Build Docker image with build WAR and generated docu\n+          - setup_remote_docker:   # Creates a safe environment where docker commands are executed\n+              docker_layer_caching: true # Speed up builds\n+          # build and push Docker image\n+          - run:\n+              name: Create and push docker image\n+              command: |\n+                ENCODED_BRANCH=`echo $CIRCLE_BRANCH | tr / - | sed 's/#//g'`\n+                TAG=\"$ENCODED_BRANCH-BUILD_$CIRCLE_BUILD_NUM\"\n+                DOCKER_BUILD_DIR=\"docker/scenarioo-ci\"\n+                DOCKER_HUB_REPO=\"cgrossde/scenarioo-dev\"\n+                echo \"Copy WAR and scenarioo results of this build into docker image\"\n+                cp scenarioo-server/build/libs/scenarioo-latest.war $DOCKER_BUILD_DIR/scenarioo.war\n+                # Keep the image smaller and only include E2E test results for now\n+                # cp -pR scenarioo-docu-generation-example/build/scenarioDocuExample $DOCKER_BUILD_DIR\n+                cp -pR e2eScenariooDocu/* $DOCKER_BUILD_DIR/scenarioDocuExample\n+                cd $DOCKER_BUILD_DIR\n+                echo \"Build and push docker image to Docker Hub\"\n+                docker build -t $DOCKER_HUB_REPO:$TAG .\n+                docker login -u $DOCKER_USER -p $DOCKER_PASS\n+                docker push cgrossde/scenarioo-dev:$TAG","path":".circleci/config.yml","position":49,"original_position":48,"commit_id":"c260706ca4b0ac55dba6dfdd5739b74b634d6f69","original_commit_id":"952a3d9867a83737fa0d837ab88b3da808f43258","user":{"login":"cgrossde","id":2333584,"node_id":"MDQ6VXNlcjIzMzM1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2333584?v=4","gravatar_id":"","url":"https://api.github.com/users/cgrossde","html_url":"https://github.com/cgrossde","followers_url":"https://api.github.com/users/cgrossde/followers","following_url":"https://api.github.com/users/cgrossde/following{/other_user}","gists_url":"https://api.github.com/users/cgrossde/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrossde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrossde/subscriptions","organizations_url":"https://api.github.com/users/cgrossde/orgs","repos_url":"https://api.github.com/users/cgrossde/repos","events_url":"https://api.github.com/users/cgrossde/events{/privacy}","received_events_url":"https://api.github.com/users/cgrossde/received_events","type":"User","site_admin":false},"body":"BTW check this out: http://demo.scenarioo.org/scenarioo-develop/#/?branch=scenarioo-feature_755-investigate-building-docker-image&build=last%20successful&comparison=Disabled&tab=usecases\r\n\r\nWe can now deploy the E2E scenarioo date to `demo.scenarioo.org/scenarioo-develop/` from CircleCI","created_at":"2018-10-17T14:44:55Z","updated_at":"2018-10-17T14:44:55Z","html_url":"https://github.com/scenarioo/scenarioo/pull/773#discussion_r225961300","pull_request_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments/225961300"},"html":{"href":"https://github.com/scenarioo/scenarioo/pull/773#discussion_r225961300"},"pull_request":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773"}},"in_reply_to_id":225903431},"pull_request":{"url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773","id":223522065,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTIyMDY1","html_url":"https://github.com/scenarioo/scenarioo/pull/773","diff_url":"https://github.com/scenarioo/scenarioo/pull/773.diff","patch_url":"https://github.com/scenarioo/scenarioo/pull/773.patch","issue_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/773","number":773,"state":"open","locked":false,"title":"Feature/755 investigate building docker image","user":{"login":"cgrossde","id":2333584,"node_id":"MDQ6VXNlcjIzMzM1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2333584?v=4","gravatar_id":"","url":"https://api.github.com/users/cgrossde","html_url":"https://github.com/cgrossde","followers_url":"https://api.github.com/users/cgrossde/followers","following_url":"https://api.github.com/users/cgrossde/following{/other_user}","gists_url":"https://api.github.com/users/cgrossde/gists{/gist_id}","starred_url":"https://api.github.com/users/cgrossde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgrossde/subscriptions","organizations_url":"https://api.github.com/users/cgrossde/orgs","repos_url":"https://api.github.com/users/cgrossde/repos","events_url":"https://api.github.com/users/cgrossde/events{/privacy}","received_events_url":"https://api.github.com/users/cgrossde/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-17T09:04:32Z","updated_at":"2018-10-17T14:44:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bcba025aca462459557d0d3cf465b9746620cf8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773/commits","review_comments_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773/comments","review_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/773/comments","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/c260706ca4b0ac55dba6dfdd5739b74b634d6f69","head":{"label":"scenarioo:feature/755-investigate-building-docker-image","ref":"feature/755-investigate-building-docker-image","sha":"c260706ca4b0ac55dba6dfdd5739b74b634d6f69","user":{"login":"scenarioo","id":5864297,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NjQyOTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5864297?v=4","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"repo":{"id":10269178,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI2OTE3OA==","name":"scenarioo","full_name":"scenarioo/scenarioo","private":false,"owner":{"login":"scenarioo","id":5864297,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NjQyOTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5864297?v=4","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/scenarioo/scenarioo","description":"Scenarioo Docu Viewer for Automated Documentation using UI/E2E-Tests","fork":false,"url":"https://api.github.com/repos/scenarioo/scenarioo","forks_url":"https://api.github.com/repos/scenarioo/scenarioo/forks","keys_url":"https://api.github.com/repos/scenarioo/scenarioo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scenarioo/scenarioo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scenarioo/scenarioo/teams","hooks_url":"https://api.github.com/repos/scenarioo/scenarioo/hooks","issue_events_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/events{/number}","events_url":"https://api.github.com/repos/scenarioo/scenarioo/events","assignees_url":"https://api.github.com/repos/scenarioo/scenarioo/assignees{/user}","branches_url":"https://api.github.com/repos/scenarioo/scenarioo/branches{/branch}","tags_url":"https://api.github.com/repos/scenarioo/scenarioo/tags","blobs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scenarioo/scenarioo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scenarioo/scenarioo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/{sha}","languages_url":"https://api.github.com/repos/scenarioo/scenarioo/languages","stargazers_url":"https://api.github.com/repos/scenarioo/scenarioo/stargazers","contributors_url":"https://api.github.com/repos/scenarioo/scenarioo/contributors","subscribers_url":"https://api.github.com/repos/scenarioo/scenarioo/subscribers","subscription_url":"https://api.github.com/repos/scenarioo/scenarioo/subscription","commits_url":"https://api.github.com/repos/scenarioo/scenarioo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scenarioo/scenarioo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scenarioo/scenarioo/contents/{+path}","compare_url":"https://api.github.com/repos/scenarioo/scenarioo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scenarioo/scenarioo/merges","archive_url":"https://api.github.com/repos/scenarioo/scenarioo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scenarioo/scenarioo/downloads","issues_url":"https://api.github.com/repos/scenarioo/scenarioo/issues{/number}","pulls_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls{/number}","milestones_url":"https://api.github.com/repos/scenarioo/scenarioo/milestones{/number}","notifications_url":"https://api.github.com/repos/scenarioo/scenarioo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scenarioo/scenarioo/labels{/name}","releases_url":"https://api.github.com/repos/scenarioo/scenarioo/releases{/id}","deployments_url":"https://api.github.com/repos/scenarioo/scenarioo/deployments","created_at":"2013-05-24T15:19:52Z","updated_at":"2018-10-14T16:58:49Z","pushed_at":"2018-10-17T14:33:24Z","git_url":"git://github.com/scenarioo/scenarioo.git","ssh_url":"git@github.com:scenarioo/scenarioo.git","clone_url":"https://github.com/scenarioo/scenarioo.git","svn_url":"https://github.com/scenarioo/scenarioo","homepage":"http://scenarioo.org","size":29811,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":181,"watchers":47,"default_branch":"develop"}},"base":{"label":"scenarioo:feature/724-spring-boot-migration","ref":"feature/724-spring-boot-migration","sha":"e70ba8da9ac37a89836a8ceb523fe004c494cb3e","user":{"login":"scenarioo","id":5864297,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NjQyOTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5864297?v=4","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"repo":{"id":10269178,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI2OTE3OA==","name":"scenarioo","full_name":"scenarioo/scenarioo","private":false,"owner":{"login":"scenarioo","id":5864297,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU4NjQyOTc=","avatar_url":"https://avatars0.githubusercontent.com/u/5864297?v=4","gravatar_id":"","url":"https://api.github.com/users/scenarioo","html_url":"https://github.com/scenarioo","followers_url":"https://api.github.com/users/scenarioo/followers","following_url":"https://api.github.com/users/scenarioo/following{/other_user}","gists_url":"https://api.github.com/users/scenarioo/gists{/gist_id}","starred_url":"https://api.github.com/users/scenarioo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scenarioo/subscriptions","organizations_url":"https://api.github.com/users/scenarioo/orgs","repos_url":"https://api.github.com/users/scenarioo/repos","events_url":"https://api.github.com/users/scenarioo/events{/privacy}","received_events_url":"https://api.github.com/users/scenarioo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/scenarioo/scenarioo","description":"Scenarioo Docu Viewer for Automated Documentation using UI/E2E-Tests","fork":false,"url":"https://api.github.com/repos/scenarioo/scenarioo","forks_url":"https://api.github.com/repos/scenarioo/scenarioo/forks","keys_url":"https://api.github.com/repos/scenarioo/scenarioo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scenarioo/scenarioo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scenarioo/scenarioo/teams","hooks_url":"https://api.github.com/repos/scenarioo/scenarioo/hooks","issue_events_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/events{/number}","events_url":"https://api.github.com/repos/scenarioo/scenarioo/events","assignees_url":"https://api.github.com/repos/scenarioo/scenarioo/assignees{/user}","branches_url":"https://api.github.com/repos/scenarioo/scenarioo/branches{/branch}","tags_url":"https://api.github.com/repos/scenarioo/scenarioo/tags","blobs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scenarioo/scenarioo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scenarioo/scenarioo/git/refs{/sha}","trees_url":"https://api.github.com/repos/scenarioo/scenarioo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scenarioo/scenarioo/statuses/{sha}","languages_url":"https://api.github.com/repos/scenarioo/scenarioo/languages","stargazers_url":"https://api.github.com/repos/scenarioo/scenarioo/stargazers","contributors_url":"https://api.github.com/repos/scenarioo/scenarioo/contributors","subscribers_url":"https://api.github.com/repos/scenarioo/scenarioo/subscribers","subscription_url":"https://api.github.com/repos/scenarioo/scenarioo/subscription","commits_url":"https://api.github.com/repos/scenarioo/scenarioo/commits{/sha}","git_commits_url":"https://api.github.com/repos/scenarioo/scenarioo/git/commits{/sha}","comments_url":"https://api.github.com/repos/scenarioo/scenarioo/comments{/number}","issue_comment_url":"https://api.github.com/repos/scenarioo/scenarioo/issues/comments{/number}","contents_url":"https://api.github.com/repos/scenarioo/scenarioo/contents/{+path}","compare_url":"https://api.github.com/repos/scenarioo/scenarioo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scenarioo/scenarioo/merges","archive_url":"https://api.github.com/repos/scenarioo/scenarioo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scenarioo/scenarioo/downloads","issues_url":"https://api.github.com/repos/scenarioo/scenarioo/issues{/number}","pulls_url":"https://api.github.com/repos/scenarioo/scenarioo/pulls{/number}","milestones_url":"https://api.github.com/repos/scenarioo/scenarioo/milestones{/number}","notifications_url":"https://api.github.com/repos/scenarioo/scenarioo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scenarioo/scenarioo/labels{/name}","releases_url":"https://api.github.com/repos/scenarioo/scenarioo/releases{/id}","deployments_url":"https://api.github.com/repos/scenarioo/scenarioo/deployments","created_at":"2013-05-24T15:19:52Z","updated_at":"2018-10-14T16:58:49Z","pushed_at":"2018-10-17T14:33:24Z","git_url":"git://github.com/scenarioo/scenarioo.git","ssh_url":"git@github.com:scenarioo/scenarioo.git","clone_url":"https://github.com/scenarioo/scenarioo.git","svn_url":"https://github.com/scenarioo/scenarioo","homepage":"http://scenarioo.org","size":29811,"stargazers_count":47,"watchers_count":47,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":181,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":181,"watchers":47,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773"},"html":{"href":"https://github.com/scenarioo/scenarioo/pull/773"},"issue":{"href":"https://api.github.com/repos/scenarioo/scenarioo/issues/773"},"comments":{"href":"https://api.github.com/repos/scenarioo/scenarioo/issues/773/comments"},"review_comments":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773/comments"},"review_comment":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scenarioo/scenarioo/pulls/773/commits"},"statuses":{"href":"https://api.github.com/repos/scenarioo/scenarioo/statuses/c260706ca4b0ac55dba6dfdd5739b74b634d6f69"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cgrossde"}}