On Tue, Jul 30, 2019 at 4:35 PM Mark Waite <[email protected]> wrote:
> I launch my Windows 10 ssh agents using the instructions from the > ssh-slaves plugin page: > > > https://github.com/jenkinsci/ssh-slaves-plugin/blob/master/doc/CONFIGURE.md#launch-windows-slaves-using-microsoft-openssh > > They use the Microsoft OpenSSH server on Windows 10. > > I launch JNLP Windows agents with the following batch script: > I launch *Windows agents* from the Windows Desktop (calling them JNLP in that case seems like a misnomer). They are not using "Java Web Start" to launch. They are launched from a batch file. > @ECHO ON > CD %HOME%\bin > CALL clean-temp-dirs > CD %TEMP% > RMDIR /S/Q . > C: > CD C:\J > ROBOCOPY %HOME%\bin . agent.jar > SET JAVA_HOME=C:\Users\MarkE\tools\jdk8u222-b10 > SET PATH=%JAVA_HOME%\bin;%PATH% > set SECRET=the-secret-has-been-removed-for-this-email > java -jar agent.jar -jnlpUrl > http://mark-pc2.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp > -secret %SECRET% > > > On Tue, Jul 30, 2019 at 11:39 AM Steve K <[email protected]> > wrote: > >> >> Thanks once again Mark. >> May I bug you for some more info? I was really hoping to answer this on >> my own, but I feel like I'm chasing my tail. Whenever I do searches for >> Jenkins agent launch methods, I'm predominantly directed to a description >> of JNLP usage or, to a lesser extent, SSH; neither of which I want for the >> Win 7 machines. >> Could you please provide a sample script that you leverage? >> That would be greatly appreciated! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Thanks! > Mark Waite > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGGuPRFWWhCtdBqPFQJ7GVyh33xXXVnmqS-WROJcRM1Ww%40mail.gmail.com.
