Make sure the agent.jar file is located in the location where you are running the java command from.
You can manually download the agent.jar file from http://YOURSERVERNAME/jnlpJars/agent.jar Thanks, John From: [email protected] [mailto:[email protected]] On Behalf Of Ana MB Sent: Thursday, March 22, 2018 11:07 AM To: Jenkins Users <[email protected]> Subject: Re: Help with Slaves: How to configure This is what I've done and I tried writing: $ java -jar agent.jar -jnlpUrl http://yourserver:port/computer/agent-name/slave-agent.jnlp But it's still showing: [https://lh3.googleusercontent.com/-9To2O1zHHbU/WrPDgCzQikI/AAAAAAAAAOc/Wn4AIHmGbNkMVuOFyFxwdPKNaC-ixPAjwCLcBGAs/s400/3.jpg]<https://lh3.googleusercontent.com/-9To2O1zHHbU/WrPDgCzQikI/AAAAAAAAAOc/Wn4AIHmGbNkMVuOFyFxwdPKNaC-ixPAjwCLcBGAs/s1600/3.jpg> And I don't know to resolve it... Thanks so much. El jueves, 22 de marzo de 2018, 14:46:31 (UTC+1), Mark Waite escribió: On Thu, Mar 22, 2018 at 6:57 AM Ana MB <[email protected]<javascript:>> wrote: I'm pretty new in this field, so.... I don't know what I'm doing clearly. I read about it but I don't know how to do it works. What argument is needed for -jnlpURL? the JNLP URL of the Jenkins master . Please read the wiki page https://wiki.jenkins.io/display/JENKINS/Distributed+builds . Mark Waite Thanks so much!!! El jueves, 22 de marzo de 2018, 13:48:22 (UTC+1), Mark Waite escribió: It appears that you're launching a JNLP based agent from the master without providing the JNLP URL of the Jenkins master. The -jnlpURL argument needs a value. It also appears that you're using an outdated name for the jar file. I believe it is now called "agent.jar" instead of "slave.jar". I'm not sure why you'd launch an agent from the master without having that agent run somewhere else (on another machine, for example). Is this an experiment, or intentional? Refer to https://wiki.jenkins.io/display/JENKINS/Distributed+builds#Distributedbuilds-Launchagentheadlessly . On Thu, Mar 22, 2018 at 6:01 AM Ana MB <[email protected]<mailto:[email protected]>> wrote: Hi guys! I'm fighting to configure slaves in my Jenkins, but I am not able to do it.... One of my proofs is the following, but I can't make it work. Tell me what I'm doing wrong please... I'm turning crazy... Thanks so much for your help... [https://lh3.googleusercontent.com/-qObMjmqoVyQ/WrOak0OshiI/AAAAAAAAAOE/XdF6Y1szkDoSuD42a1kPSd99BPZiaMIXQCLcBGAs/s400/1.jpg]<https://lh3.googleusercontent.com/-qObMjmqoVyQ/WrOak0OshiI/AAAAAAAAAOE/XdF6Y1szkDoSuD42a1kPSd99BPZiaMIXQCLcBGAs/s1600/1.jpg> [https://lh3.googleusercontent.com/-3dWcwM9LUSo/WrOamSqRElI/AAAAAAAAAOI/uZ7AYs2lgV4jbD3MBHoJLg3bk25lelssACLcBGAs/s400/2.jpg]<https://lh3.googleusercontent.com/-3dWcwM9LUSo/WrOamSqRElI/AAAAAAAAAOI/uZ7AYs2lgV4jbD3MBHoJLg3bk25lelssACLcBGAs/s1600/2.jpg> I've changed the kind of "Launch method", but I've got the same result -> WRONG! Thanks guys! -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ffa2e08a-e931-401a-8447-6fe44cd840ab%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/ffa2e08a-e931-401a-8447-6fe44cd840ab%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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]<javascript:>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/04f37c3e-722b-43c7-9d9f-e26ca81da3b6%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/04f37c3e-722b-43c7-9d9f-e26ca81da3b6%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1282e395-435b-4774-a9e3-3ae421a9a7b7%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/1282e395-435b-4774-a9e3-3ae421a9a7b7%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. ________________________________ [https://www.aciworldwide.com/-/media/aci-footer]<http://www.aciworldwide.com> This email message and any attachments may contain confidential, proprietary or non-public information. The information is intended solely for the designated recipient(s). If an addressing or transmission error has misdirected this email, please notify the sender immediately and destroy this email. Any review, dissemination, use or reliance upon this information by unintended recipients is prohibited. Any opinions expressed in this email are those of the author personally. -- 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/DM2PR0801MB0747BCC3098EDFF4F04CD12DF2A90%40DM2PR0801MB0747.namprd08.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.
