[JIRA] [core] (JENKINS-28731) Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state
Title: Message Title Matt Taylor commented on JENKINS-28731 Re: Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state No sorry I was just stating the steps I am taking, Still does not work. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-28731) Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state
Title: Message Title Daniel Beck commented on JENKINS-28731 Re: Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state Do the steps you describe work, or do they still require the workaround to open Virtual Box beforehand? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-28731) Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state
Title: Message Title Matt Taylor commented on JENKINS-28731 Re: Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state I make sure that the Jenkins service is not started automatically as a service. To do so, I open the “Services” tool (which is part of the “Administrative Tools” in the control panel), choose “Jenkins” service, stop the service, and set the “Startup type” to disabled: Then, Jenkins can be started manually using following command (from the installation folder): java -jar jenkins.war The reason being as Jenkins is normally started as a Windows service, it does not have sufficient rights to start UI-applications. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-28731) Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state
Title: Message Title Daniel Beck commented on JENKINS-28731 Re: Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state As of now it is not clear that this is in fact a bug in Jenkins, as there are significant differences between starting a batch command from a service (assuming Jenkins runs as one) and starting it in an interactive console. Depending on how you start the Windows node it may or may not have access to the UI. If it's a service, check the option "Service has access to desktop" (or similarly worded) and try again after a restart. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [core] (JENKINS-28731) Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state
Title: Message Title Matt Taylor created an issue Jenkins / JENKINS-28731 Starting a Virtual Machine in Jenkins via batch script causes immediate crash and result in aborted state Issue Type: Bug Assignee: Unassigned Components: core Created: 03/Jun/15 11:50 PM Environment: Jenkins 1.616 Windows 8.1 64bit VirtualBox 4.3.28 Labels: jenkins windows build job gui virtualbox Priority: Major Reporter: Matt Taylor == Symptom == Whenever I try and start a VM from the Execute Windows Batch Command inside a freestyle Jenkins job, my VM immediately crashes. == Details == Trying to execute a batch script inside a Jenkins job that starts a Virtual Machine via a batch script will immediately crash and go to the aborted state. However, the same exact batch script can be ran by the host machine with the same variable and parameters perfectly fine manually. Also another workaround is to have