Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ci_build.rb: more descriptive output

  • Loading branch information...
commit 1e421aba7b1ac5b546671b33ef77b514a2f348c1 1 parent cc09622
Brian Cunnie authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  scripts/ci_build.rb
3  scripts/ci_build.rb
View
@@ -54,10 +54,13 @@
end
puts "make sure CI guest is running"
+puts("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} start #{vmware_vmx}\"")
system("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} start #{vmware_vmx}\"")
puts "reverting CI guest to #{snapshot} snapshot"
+puts("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} revertToSnapshot #{vmware_vmx} #{snapshot}\"") || exit(1)
system("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} revertToSnapshot #{vmware_vmx} #{snapshot}\"") || exit(1)
puts "starting CI guest"
+puts("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} start #{vmware_vmx}\"") || exit(1)
system("ssh #{vmware_user_at_host} \"sudo -u #{sudo_user} #{vmware_cmd} start #{vmware_vmx}\"") || exit(1)
sleep 120
Please sign in to comment.
Something went wrong with that request. Please try again.