{"action":"created","comment":{"url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments/166032669","pull_request_review_id":94055944,"id":166032669,"diff_hunk":"@@ -15,14 +35,162 @@ pipeline {\n \n   agent {\n     node {\n-      label 'meta_slave'\n+      label 'master'\n     }\n   }\n+\n   stages {\n-     stage('Noop') {\n-       steps {\n-         sh 'echo \"NOOP\"'\n-       }\n-     }\n-  }\n-}\n\\ No newline at end of file\n+      stage('Prepare Ubuntu build environment') {\n+        when {\n+          beforeAgent true\n+          expression { params.SKIP_BUILDING == 'False' }\n+        }\n+        agent {\n+          node {\n+            label 'lcow_ubuntu'\n+          }\n+        }        \n+        steps {\n+        withCredentials(bindings: [string(credentialsId: 'KERNEL_GIT_URL', variable: 'KERNEL_GIT_URL')]) {\n+          sh '''#!/bin/bash\n+            set -xe\n+\n+            echo \"Prepare Ubuntu build environment\"\n+            pushd \"$WORKSPACE/scripts/linux_containers_on_windows/\"\n+              \n+            bash install_deps.sh \\\\\n+            ${KERNEL_GIT_URL} \\\\\n+            ${KERNEL_GIT_BRANCH} \\\\\n+            ${OPENGCS_GIT_URL} \\\\\n+            ${OPENGCS_GIT_BRANCH} \\\\\n+            ${BUILD_PATH} \\\\\n+            ${CLEAN_ENV}\n+              \n+            popd\n+            '''\n+            }\n+        }\n+      }\n+    \n+\n+      stage('Build Linux MSFT Kernel') {\n+        when {\n+          beforeAgent true\n+          expression { params.SKIP_BUILDING == 'False' }\n+        }\n+        agent {\n+          node {\n+            label 'lcow_ubuntu'\n+          }\n+        }        \n+        steps {\n+          sh '''#!/bin/bash\n+            set -xe\n+\n+            echo \"Building LCOW Linux Kernel\"\n+            pushd \"$WORKSPACE/scripts/linux_containers_on_windows/\"\n+\n+            bash build_linux_kernel.sh ${BUILD_PATH} \\\\\n+            ${ARTIFACTS_PATH} \\\\\n+            ${BUILD_THREAD_NUMBER} \\\\\n+            ${KERNEL_VERSION} \\\\\n+            ${CHECKOUT_COMMIT} \\\\\n+            5181302de497cb7d5de37bbc84e01eca676f20d8 b54a12c4e3f18cd48314fd3851f5651446b0e6ee 866488f04fc4d8ff513697db2f80263e90277291 fdd8e16c855a6c7238c654d7217dcf51c5533307 b02ea409f1fceeaac6fd971db5d095ecc903de2d 27e512021e36c67dd1c773a52b23d71896c80602 e2c1d1b8e8d17cc9b423688d59ad486c5f38deca e015b0a767dcab79b8b8361516f3f4322cdc90a7 b9cc90e62104bd001b05d897f84cb7d30d1780bb 022c888e809721a67ecd3072e6331cbdaab45536 81304747d9bcba135c9a9d534f3a3190bca92339 db40d92a09ff6b84b6c47e96d0a8d1cb1f83cd36 0465d97030768485eec5a69a98963e3da7402826 7592de58cbf8d199d721503385c20a02743425a9 02d07a9dcdb042f33248fd3aeb1e5c2eca6d3d49 f315dfcf9c3b4b32f43a21664762cbacd8f05d6a d6f7158fdbac10f9935a506451e3d54d2d50a7c7 c15d7f606f813b8d1f1ce02979929fd875da228b b6ffb4393fb266711b37ed056487665d8650f31a","path":"linux_pipeline/Jenkinsfile_container_images","position":108,"original_position":108,"commit_id":"4355a38e58de22e408ef93b8485d404e0695d797","original_commit_id":"4355a38e58de22e408ef93b8485d404e0695d797","user":{"login":"ader1990","id":1412442,"avatar_url":"https://avatars2.githubusercontent.com/u/1412442?v=4","gravatar_id":"","url":"https://api.github.com/users/ader1990","html_url":"https://github.com/ader1990","followers_url":"https://api.github.com/users/ader1990/followers","following_url":"https://api.github.com/users/ader1990/following{/other_user}","gists_url":"https://api.github.com/users/ader1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ader1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ader1990/subscriptions","organizations_url":"https://api.github.com/users/ader1990/orgs","repos_url":"https://api.github.com/users/ader1990/repos","events_url":"https://api.github.com/users/ader1990/events{/privacy}","received_events_url":"https://api.github.com/users/ader1990/received_events","type":"User","site_admin":false},"body":"these should go to the params or env vars","created_at":"2018-02-05T16:45:11Z","updated_at":"2018-02-05T16:56:18Z","html_url":"https://github.com/LIS/lis-pipeline/pull/155#discussion_r166032669","pull_request_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments/166032669"},"html":{"href":"https://github.com/LIS/lis-pipeline/pull/155#discussion_r166032669"},"pull_request":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155"}}},"pull_request":{"url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155","id":167193486,"html_url":"https://github.com/LIS/lis-pipeline/pull/155","diff_url":"https://github.com/LIS/lis-pipeline/pull/155.diff","patch_url":"https://github.com/LIS/lis-pipeline/pull/155.patch","issue_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/155","number":155,"state":"open","locked":false,"title":"Move LCOW to Azure improvements","user":{"login":"ader1990","id":1412442,"avatar_url":"https://avatars2.githubusercontent.com/u/1412442?v=4","gravatar_id":"","url":"https://api.github.com/users/ader1990","html_url":"https://github.com/ader1990","followers_url":"https://api.github.com/users/ader1990/followers","following_url":"https://api.github.com/users/ader1990/following{/other_user}","gists_url":"https://api.github.com/users/ader1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ader1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ader1990/subscriptions","organizations_url":"https://api.github.com/users/ader1990/orgs","repos_url":"https://api.github.com/users/ader1990/repos","events_url":"https://api.github.com/users/ader1990/events{/privacy}","received_events_url":"https://api.github.com/users/ader1990/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-05T16:37:14Z","updated_at":"2018-02-05T16:56:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df7e5eeaa801e89a7b50df0f5a8a94701d435ab0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155/commits","review_comments_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155/comments","review_comment_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/155/comments","statuses_url":"https://api.github.com/repos/LIS/lis-pipeline/statuses/4355a38e58de22e408ef93b8485d404e0695d797","head":{"label":"dardelean:master","ref":"master","sha":"4355a38e58de22e408ef93b8485d404e0695d797","user":{"login":"dardelean","id":5859023,"avatar_url":"https://avatars2.githubusercontent.com/u/5859023?v=4","gravatar_id":"","url":"https://api.github.com/users/dardelean","html_url":"https://github.com/dardelean","followers_url":"https://api.github.com/users/dardelean/followers","following_url":"https://api.github.com/users/dardelean/following{/other_user}","gists_url":"https://api.github.com/users/dardelean/gists{/gist_id}","starred_url":"https://api.github.com/users/dardelean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dardelean/subscriptions","organizations_url":"https://api.github.com/users/dardelean/orgs","repos_url":"https://api.github.com/users/dardelean/repos","events_url":"https://api.github.com/users/dardelean/events{/privacy}","received_events_url":"https://api.github.com/users/dardelean/received_events","type":"User","site_admin":false},"repo":{"id":106850754,"name":"lis-pipeline","full_name":"dardelean/lis-pipeline","owner":{"login":"dardelean","id":5859023,"avatar_url":"https://avatars2.githubusercontent.com/u/5859023?v=4","gravatar_id":"","url":"https://api.github.com/users/dardelean","html_url":"https://github.com/dardelean","followers_url":"https://api.github.com/users/dardelean/followers","following_url":"https://api.github.com/users/dardelean/following{/other_user}","gists_url":"https://api.github.com/users/dardelean/gists{/gist_id}","starred_url":"https://api.github.com/users/dardelean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dardelean/subscriptions","organizations_url":"https://api.github.com/users/dardelean/orgs","repos_url":"https://api.github.com/users/dardelean/repos","events_url":"https://api.github.com/users/dardelean/events{/privacy}","received_events_url":"https://api.github.com/users/dardelean/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dardelean/lis-pipeline","description":null,"fork":true,"url":"https://api.github.com/repos/dardelean/lis-pipeline","forks_url":"https://api.github.com/repos/dardelean/lis-pipeline/forks","keys_url":"https://api.github.com/repos/dardelean/lis-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dardelean/lis-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dardelean/lis-pipeline/teams","hooks_url":"https://api.github.com/repos/dardelean/lis-pipeline/hooks","issue_events_url":"https://api.github.com/repos/dardelean/lis-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/dardelean/lis-pipeline/events","assignees_url":"https://api.github.com/repos/dardelean/lis-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/dardelean/lis-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/dardelean/lis-pipeline/tags","blobs_url":"https://api.github.com/repos/dardelean/lis-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dardelean/lis-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dardelean/lis-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/dardelean/lis-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dardelean/lis-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/dardelean/lis-pipeline/languages","stargazers_url":"https://api.github.com/repos/dardelean/lis-pipeline/stargazers","contributors_url":"https://api.github.com/repos/dardelean/lis-pipeline/contributors","subscribers_url":"https://api.github.com/repos/dardelean/lis-pipeline/subscribers","subscription_url":"https://api.github.com/repos/dardelean/lis-pipeline/subscription","commits_url":"https://api.github.com/repos/dardelean/lis-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/dardelean/lis-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/dardelean/lis-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/dardelean/lis-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/dardelean/lis-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/dardelean/lis-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dardelean/lis-pipeline/merges","archive_url":"https://api.github.com/repos/dardelean/lis-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dardelean/lis-pipeline/downloads","issues_url":"https://api.github.com/repos/dardelean/lis-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/dardelean/lis-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/dardelean/lis-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/dardelean/lis-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dardelean/lis-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/dardelean/lis-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/dardelean/lis-pipeline/deployments","created_at":"2017-10-13T16:54:28Z","updated_at":"2017-10-13T16:54:30Z","pushed_at":"2018-02-05T13:51:31Z","git_url":"git://github.com/dardelean/lis-pipeline.git","ssh_url":"git@github.com:dardelean/lis-pipeline.git","clone_url":"https://github.com/dardelean/lis-pipeline.git","svn_url":"https://github.com/dardelean/lis-pipeline","homepage":null,"size":472,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"LIS:master","ref":"master","sha":"cd79f54daf7b8c977ef1390b2d58bf19ae0e19ff","user":{"login":"LIS","id":930970,"avatar_url":"https://avatars3.githubusercontent.com/u/930970?v=4","gravatar_id":"","url":"https://api.github.com/users/LIS","html_url":"https://github.com/LIS","followers_url":"https://api.github.com/users/LIS/followers","following_url":"https://api.github.com/users/LIS/following{/other_user}","gists_url":"https://api.github.com/users/LIS/gists{/gist_id}","starred_url":"https://api.github.com/users/LIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LIS/subscriptions","organizations_url":"https://api.github.com/users/LIS/orgs","repos_url":"https://api.github.com/users/LIS/repos","events_url":"https://api.github.com/users/LIS/events{/privacy}","received_events_url":"https://api.github.com/users/LIS/received_events","type":"Organization","site_admin":false},"repo":{"id":102788297,"name":"lis-pipeline","full_name":"LIS/lis-pipeline","owner":{"login":"LIS","id":930970,"avatar_url":"https://avatars3.githubusercontent.com/u/930970?v=4","gravatar_id":"","url":"https://api.github.com/users/LIS","html_url":"https://github.com/LIS","followers_url":"https://api.github.com/users/LIS/followers","following_url":"https://api.github.com/users/LIS/following{/other_user}","gists_url":"https://api.github.com/users/LIS/gists{/gist_id}","starred_url":"https://api.github.com/users/LIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LIS/subscriptions","organizations_url":"https://api.github.com/users/LIS/orgs","repos_url":"https://api.github.com/users/LIS/repos","events_url":"https://api.github.com/users/LIS/events{/privacy}","received_events_url":"https://api.github.com/users/LIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LIS/lis-pipeline","description":null,"fork":false,"url":"https://api.github.com/repos/LIS/lis-pipeline","forks_url":"https://api.github.com/repos/LIS/lis-pipeline/forks","keys_url":"https://api.github.com/repos/LIS/lis-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LIS/lis-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LIS/lis-pipeline/teams","hooks_url":"https://api.github.com/repos/LIS/lis-pipeline/hooks","issue_events_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/LIS/lis-pipeline/events","assignees_url":"https://api.github.com/repos/LIS/lis-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/LIS/lis-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/LIS/lis-pipeline/tags","blobs_url":"https://api.github.com/repos/LIS/lis-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LIS/lis-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LIS/lis-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/LIS/lis-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LIS/lis-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/LIS/lis-pipeline/languages","stargazers_url":"https://api.github.com/repos/LIS/lis-pipeline/stargazers","contributors_url":"https://api.github.com/repos/LIS/lis-pipeline/contributors","subscribers_url":"https://api.github.com/repos/LIS/lis-pipeline/subscribers","subscription_url":"https://api.github.com/repos/LIS/lis-pipeline/subscription","commits_url":"https://api.github.com/repos/LIS/lis-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/LIS/lis-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/LIS/lis-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/LIS/lis-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/LIS/lis-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/LIS/lis-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LIS/lis-pipeline/merges","archive_url":"https://api.github.com/repos/LIS/lis-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LIS/lis-pipeline/downloads","issues_url":"https://api.github.com/repos/LIS/lis-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/LIS/lis-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/LIS/lis-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/LIS/lis-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LIS/lis-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/LIS/lis-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/LIS/lis-pipeline/deployments","created_at":"2017-09-07T21:41:07Z","updated_at":"2017-11-01T18:01:48Z","pushed_at":"2018-02-05T16:55:55Z","git_url":"git://github.com/LIS/lis-pipeline.git","ssh_url":"git@github.com:LIS/lis-pipeline.git","clone_url":"https://github.com/LIS/lis-pipeline.git","svn_url":"https://github.com/LIS/lis-pipeline","homepage":null,"size":470,"stargazers_count":1,"watchers_count":1,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":11,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155"},"html":{"href":"https://github.com/LIS/lis-pipeline/pull/155"},"issue":{"href":"https://api.github.com/repos/LIS/lis-pipeline/issues/155"},"comments":{"href":"https://api.github.com/repos/LIS/lis-pipeline/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LIS/lis-pipeline/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/LIS/lis-pipeline/statuses/4355a38e58de22e408ef93b8485d404e0695d797"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ader1990"}}