{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71","id":19098043,"html_url":"https://github.com/jenkinsci/jclouds-plugin/pull/71","diff_url":"https://github.com/jenkinsci/jclouds-plugin/pull/71.diff","patch_url":"https://github.com/jenkinsci/jclouds-plugin/pull/71.patch","issue_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/71","number":71,"state":"closed","locked":false,"title":"Add possibility to start pre-configured auto-login Windows slaves in \"hybrid ssh-jnlp mode\"","user":{"login":"jackzelenkin","id":869714,"avatar_url":"https://avatars.githubusercontent.com/u/869714?v=3","gravatar_id":"","url":"https://api.github.com/users/jackzelenkin","html_url":"https://github.com/jackzelenkin","followers_url":"https://api.github.com/users/jackzelenkin/followers","following_url":"https://api.github.com/users/jackzelenkin/following{/other_user}","gists_url":"https://api.github.com/users/jackzelenkin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackzelenkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackzelenkin/subscriptions","organizations_url":"https://api.github.com/users/jackzelenkin/orgs","repos_url":"https://api.github.com/users/jackzelenkin/repos","events_url":"https://api.github.com/users/jackzelenkin/events{/privacy}","received_events_url":"https://api.github.com/users/jackzelenkin/received_events","type":"User","site_admin":false},"body":"These changes add possibility to start pre-configured auto-login Windows slaves in \"hybrid ssh-jnlp mode\", which in its turn allows to use this Windows slaves for testing of GUI applications (everything will be started in the same session and visible if the need will arise).\r\n\r\nBy \"hybrid ssh-jnlp mode\" following is meant:\r\n- slave.jar and agent-launcher.bat are copied to Windows slave over ssh.\r\n- special autostart script triggers agent-launcher.bat as soon as it appears and launches slave.jar in jnlp mode.\r\n\r\nTo be preconfigured Windows image/snapshot needs:\r\n- auto-login turned on.\r\n- cygwin installer + ssh configured and started.\r\n- /cygdrive/c/start folder created.\r\n- special autostart script of roughly following content:\r\n```dos\r\n\"hybrid SSH-JNLP mode\"set WAIT_TIMEOUT=180 \r\nset /a \"COUNTER=0\"\r\n\r\n:WHILE_FILE_NOT_EXISTS\r\nif not exist \"C:\\start\\agent-launcher.bat\" (\r\n    REM If you are here, then file is missing.\r\n    if %COUNTER% gtr %WAIT_TIMEOUT% (\r\n        echo \"agent-launcher.bat file didn't appear withing %WAIT_TIMEOUT% seconds.\"\r\n        exit /B 1\r\n    )\r\n    REM Sleep for 5 seconds\r\n    echo \"%COUNTER% seconds had passed, but launcher script wasn't copied yet. Will check in 5 seconods...\"\r\n    timeout /t 5 /nobreak > NUL\r\n    set /a \"COUNTER+=5\" REM Для более старых версий Windows (<= Windows Vista), необходимо использовать не timeout а костыль с пингом: ping -n 5 127.0.0.1 > NUL\r\n    goto :WHILE_FILE_NOT_EXISTS\r\n)\r\n\r\necho \"Launcher script finally appeared, launching it...\"\r\ncd \"C:\\start\"\r\nstart agent-launcher.bat\r\n```","created_at":"2014-07-30T15:47:51Z","updated_at":"2015-02-05T16:20:16Z","closed_at":"2015-02-05T16:20:16Z","merged_at":null,"merge_commit_sha":"3e2717cefb2151b7c58333e9b7fd62868efa789f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/71/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/statuses/cb1df7507a6857e0a530a70629e29d73c0b51906","head":{"label":"jackzelenkin:master","ref":"master","sha":"cb1df7507a6857e0a530a70629e29d73c0b51906","user":{"login":"jackzelenkin","id":869714,"avatar_url":"https://avatars.githubusercontent.com/u/869714?v=3","gravatar_id":"","url":"https://api.github.com/users/jackzelenkin","html_url":"https://github.com/jackzelenkin","followers_url":"https://api.github.com/users/jackzelenkin/followers","following_url":"https://api.github.com/users/jackzelenkin/following{/other_user}","gists_url":"https://api.github.com/users/jackzelenkin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackzelenkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackzelenkin/subscriptions","organizations_url":"https://api.github.com/users/jackzelenkin/orgs","repos_url":"https://api.github.com/users/jackzelenkin/repos","events_url":"https://api.github.com/users/jackzelenkin/events{/privacy}","received_events_url":"https://api.github.com/users/jackzelenkin/received_events","type":"User","site_admin":false},"repo":{"id":22432835,"name":"jclouds-plugin","full_name":"jackzelenkin/jclouds-plugin","owner":{"login":"jackzelenkin","id":869714,"avatar_url":"https://avatars.githubusercontent.com/u/869714?v=3","gravatar_id":"","url":"https://api.github.com/users/jackzelenkin","html_url":"https://github.com/jackzelenkin","followers_url":"https://api.github.com/users/jackzelenkin/followers","following_url":"https://api.github.com/users/jackzelenkin/following{/other_user}","gists_url":"https://api.github.com/users/jackzelenkin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackzelenkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackzelenkin/subscriptions","organizations_url":"https://api.github.com/users/jackzelenkin/orgs","repos_url":"https://api.github.com/users/jackzelenkin/repos","events_url":"https://api.github.com/users/jackzelenkin/events{/privacy}","received_events_url":"https://api.github.com/users/jackzelenkin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jackzelenkin/jclouds-plugin","description":"Jenkins jclouds plugin","fork":true,"url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin","forks_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/forks","keys_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/teams","hooks_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/hooks","issue_events_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/events","assignees_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/tags","blobs_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/languages","stargazers_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/stargazers","contributors_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/contributors","subscribers_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/subscribers","subscription_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/subscription","commits_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/merges","archive_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/downloads","issues_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jackzelenkin/jclouds-plugin/releases{/id}","created_at":"2014-07-30T15:09:38Z","updated_at":"2014-07-30T15:18:27Z","pushed_at":"2014-08-14T13:59:16Z","git_url":"git://github.com/jackzelenkin/jclouds-plugin.git","ssh_url":"git@github.com:jackzelenkin/jclouds-plugin.git","clone_url":"https://github.com/jackzelenkin/jclouds-plugin.git","svn_url":"https://github.com/jackzelenkin/jclouds-plugin","homepage":"http://jenkins-ci.org/","size":620,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"6bab23d09c3de0e9419d602c65616ab3f663a3ea","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1165813,"name":"jclouds-plugin","full_name":"jenkinsci/jclouds-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/jclouds-plugin","description":"Jenkins jclouds plugin","fork":false,"url":"https://api.github.com/repos/jenkinsci/jclouds-plugin","forks_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jclouds-plugin/releases{/id}","created_at":"2010-12-13T20:08:29Z","updated_at":"2015-02-05T15:44:04Z","pushed_at":"2015-02-05T15:44:04Z","git_url":"git://github.com/jenkinsci/jclouds-plugin.git","ssh_url":"git@github.com:jenkinsci/jclouds-plugin.git","clone_url":"https://github.com/jenkinsci/jclouds-plugin.git","svn_url":"https://github.com/jenkinsci/jclouds-plugin","homepage":"http://jenkins-ci.org/","size":1111,"stargazers_count":44,"watchers_count":44,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":2,"forks":55,"open_issues":2,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71"},"html":{"href":"https://github.com/jenkinsci/jclouds-plugin/pull/71"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/71"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jclouds-plugin/statuses/cb1df7507a6857e0a530a70629e29d73c0b51906"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":8,"commits":3,"additions":200,"deletions":39,"changed_files":6}}