[JIRA] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Shubham Aggarwal commented on JENKINS-51352 Re: Windows slave not getting connected Looks like it still isn't released. After a lot of trial-and-error, I ended up here and this workaround worked for me. Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190698.1526438065000.9108.1586548140209%40Atlassian.JIRA.
[JIRA] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Ivan Fernandez Calvo updated JENKINS-51352 Jenkins / JENKINS-51352 Windows slave not getting connected Change By: Ivan Fernandez Calvo Status: Fixed but Unreleased Closed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190698.1526438065000.10328.1580577060647%40Atlassian.JIRA.
[JIRA] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Julianus Pfeuffer commented on JENKINS-51352 Re: Windows slave not getting connected Thanks, the workaround solved it for me, too. When will this be released? The status says fixed. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190698.1526438065000.2351.1560856680149%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Ned Radev commented on JENKINS-51352 Re: Windows slave not getting connected Gaurav Negi I found a workaround for this. It's related to the different drive you are using - in your case D: You can fix it by prefixing slave start command with "D: && ". You can find it in Advanced settings of SSH launch method. Your start command should look like this after the change - "D: && cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar" Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Oleg Nenashev commented on JENKINS-51352 Re: Windows slave not getting connected From what I see in the output it firstly copies slave.jar to the remoteDir defined in agent settings, but then your script switches to the directory and likely just fails to find the file there. Please provide your agent configuration XML. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-51352 Windows slave not getting connected Change By: Oleg Nenashev Component/s: ssh-slaves-plugin Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Oleg Nenashev updated an issue Jenkins / JENKINS-51352 Windows slave not getting connected Change By: Oleg Nenashev Component/s: _unsorted Component/s: ssh-plugin Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Gaurav Negi updated an issue Jenkins / JENKINS-51352 Windows slave not getting connected Attached is the log Change By: Gaurav Negi Attachment: Error_log.txt Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- 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] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Gaurav Negi updated an issue Jenkins / JENKINS-51352 Windows slave not getting connected Change By: Gaurav Negi Dear All, I have got struck with an issue, I am seeing very 1st time with Jenkins. 1. I am using Jenkins Master as Ubuntu VM and Jenkins slave on Windows 10. 2. I have openssh running on window slave. 3. I am not able to bring Jenkins window slave online. It can authenticate, but running command cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar " fails[05/15/18 19:23:50] [SSH] Copied 745,674 bytes. Expanded the channel window size to 4MB [05/15/18 19:23:50] [SSH] Starting slave process: cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>Error: Unable to access jarfile slave.jar Slave JVM has terminated. Exit code=1 [05/15/18 19:23:50] Launch failed - cleaning up connection [05/15/18 19:23:50] [SSH] Connection closed.4. I can reproduce the same by manually run following command from Jenkins masterCommand ssh user@jenkinsslave " cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar " FailsBut If I run (with full path of slave.jar) it works. ssh user@jenkinsslave " cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar D:\jenkins\slave.jar " Can I please know what can I do to fix it? How can I change the command that Jenkins master is running to connect to slave? Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-51352) Windows slave not getting connected
Title: Message Title Gaurav Negi created an issue Jenkins / JENKINS-51352 Windows slave not getting connected Issue Type: Bug Assignee: Unassigned Components: ssh-plugin Created: 2018-05-16 02:34 Environment: Jenkins Master: Ubuntu Jenkins Slave: Windows 10 Priority: Blocker Reporter: Gaurav Negi Dear All, I have got struck with an issue, I am seeing very 1st time with Jenkins. 1. I am using Jenkins Master as Ubuntu VM and Jenkins slave on Windows 10. 2. I have openssh running on window slave. 3. I am not able to bring Jenkins window slave online. It can authenticate, but running command cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar fails [05/15/18 19:23:50] [SSH] Copied 745,674 bytes. Expanded the channel window size to 4MB [05/15/18 19:23:50] [SSH] Starting slave process: cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>Error: Unable to access jarfile slave.jar Slave JVM has terminated. Exit code=1 [05/15/18 19:23:50] Launch failed - cleaning up connection [05/15/18 19:23:50] [SSH] Connection closed. 4. I can reproduce the same by manually run following command from Jenkins master Command cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar slave.jar Fails But If I run (with full path of slave.jar) it works. cd "D:\jenkins" && java -Xms2048m -Xmx4096m -jar D:\jenkins\slave.jar Can I please know what can I do to fix it? How can I change the command that Jenkins master is running to connect to slave?