{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/beaker/issues/744","labels_url":"https://api.github.com/repos/puppetlabs/beaker/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/beaker/issues/744/comments","events_url":"https://api.github.com/repos/puppetlabs/beaker/issues/744/events","html_url":"https://github.com/puppetlabs/beaker/pull/744","id":60923199,"number":744,"title":"(BKR-7) beaker's prebuild_steps corrupts PATH on windows+cygwin","user":{"login":"anodelman","id":4140109,"avatar_url":"https://avatars.githubusercontent.com/u/4140109?v=3","gravatar_id":"","url":"https://api.github.com/users/anodelman","html_url":"https://github.com/anodelman","followers_url":"https://api.github.com/users/anodelman/followers","following_url":"https://api.github.com/users/anodelman/following{/other_user}","gists_url":"https://api.github.com/users/anodelman/gists{/gist_id}","starred_url":"https://api.github.com/users/anodelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anodelman/subscriptions","organizations_url":"https://api.github.com/users/anodelman/orgs","repos_url":"https://api.github.com/users/anodelman/repos","events_url":"https://api.github.com/users/anodelman/events{/privacy}","received_events_url":"https://api.github.com/users/anodelman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-12T22:36:26Z","updated_at":"2015-03-13T00:11:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/beaker/pulls/744","html_url":"https://github.com/puppetlabs/beaker/pull/744","diff_url":"https://github.com/puppetlabs/beaker/pull/744.diff","patch_url":"https://github.com/puppetlabs/beaker/pull/744.patch"},"body":"- use correct path separator for cygwin vs. correct separator for\r\n  non-cygwin windows\r\n\r\n- remove un-used RUBYLIB env var\r\n  * no dependencies on this anywhere, might as well pull it out"},"comment":{"url":"https://api.github.com/repos/puppetlabs/beaker/issues/comments/78708007","html_url":"https://github.com/puppetlabs/beaker/pull/744#issuecomment-78708007","issue_url":"https://api.github.com/repos/puppetlabs/beaker/issues/744","id":78708007,"user":{"login":"joshcooper","id":737664,"avatar_url":"https://avatars.githubusercontent.com/u/737664?v=3","gravatar_id":"","url":"https://api.github.com/users/joshcooper","html_url":"https://github.com/joshcooper","followers_url":"https://api.github.com/users/joshcooper/followers","following_url":"https://api.github.com/users/joshcooper/following{/other_user}","gists_url":"https://api.github.com/users/joshcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcooper/subscriptions","organizations_url":"https://api.github.com/users/joshcooper/orgs","repos_url":"https://api.github.com/users/joshcooper/repos","events_url":"https://api.github.com/users/joshcooper/events{/privacy}","received_events_url":"https://api.github.com/users/joshcooper/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T00:11:59Z","updated_at":"2015-03-13T00:11:59Z","body":"Puppet looks good also, there's no semicolon in the PATH, RUBYLIB is removed, and puppet on windows can run `gem.bat`. Note `privatebindir` isn't set on windows `foss` and `pe` hosts yet (filed as BKR-6), but that doesn't cause problems because `foss` currently includes ruby in the `puppetbindir`:\r\n\r\n```\r\n0 ~/work/puppet/acceptance (master)  $ git rev-parse HEAD\r\n4dae4b348ab6942d07c178fd160726e2c7895eaa\r\n0 ~/work/puppet/acceptance (master)  $ be rake ci:test:git SHA=4dae4b348ab6942d07c178fd160726e2c7895eaa CONFIG=config/nodes/win2012r2-rubyx64.yaml\r\n...\r\nbxo3amkhq5p4q38.delivery.puppetlabs.net (agent-2012r2-x86_64-rubyx64) 17:01:23$ cat ~/.ssh/environment\r\nCreated ssh connection to bxo3amkhq5p4q38.delivery.puppetlabs.net, user: Administrator, opts: {:config=>false, :paranoid=>false, :timeout=>300, :auth_methods=>[\"publickey\"], :port=>22, :forward_agent=>true, :keys=>[\"id_rsa_acceptance\", \"/Users/josh/.ssh/id_rsa-acceptance\"], :user_known_hosts_file=>\"/Users/josh/.ssh/known_hosts\", :user=>\"Administrator\"}\r\nPATH=/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/bin:/cygdrive/c/Program Files (x86)/Puppet Labs/Puppet/sys/ruby/bin:/cygdrive/c/Program Files/Puppet Labs/Puppet/sys/ruby/bin:/opt/puppet-git-repos/hiera/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/pstools:/bin\r\nCYGWIN=nodosfilewarning\r\n...\r\nbxo3amkhq5p4q38.delivery.puppetlabs.net (agent-2012r2-x86_64-rubyx64) 17:02:45$ env PATH=\":${PATH}\" cmd /c gem source --clear-all\r\n*** Removed specs cache ***\r\nbxo3amkhq5p4q38.delivery.puppetlabs.net (agent-2012r2-x86_64-rubyx64) executed in 0.41 seconds\r\nbxo3amkhq5p4q38.delivery.puppetlabs.net (agent-2012r2-x86_64-rubyx64) 17:02:46$ env PATH=\":${PATH}\" cmd /c gem source --add https://rubygems.org\r\nhttps://rubygems.org added to sources\r\n```"}}