Thanks guys!

My company only uses Linux, so I can't launch JNLP from Windows Scheduler...

I'll try to download the agen.jar into the right folder.

Thanks so much....!!!!

El jueves, 22 de marzo de 2018, 16:19:42 (UTC+1), Burrows, John escribió:
>
> I agree with Mark 100%, and have found the best way for Windows Jenkins 
> Nodes, is to launch the JNLP Jenkins Agent using Windows Task Scheduler set 
> on System Startup.
>
>  
>
> We (my company) uses SSH to launch non-Windows Agents and JNLP for Windows 
> Agents. We have more than a dozen Jenkins Masters and close to 100 Jenkins 
> Agents.
>
>  
>
> Thanks,
>
> John
>
>  
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Mark Waite
> *Sent:* Thursday, March 22, 2018 11:15 AM
> *To:* [email protected] <javascript:>
> *Subject:* Re: Help with Slaves: How to configure
>
>  
>
> The picture says "unable to access agent.jar".  I think that means you 
> need to download the agent.jar file into the directory where you are 
> running the command which launches that agent.
>
>  
>
> I continue to believe that you may be making a more fundamental mistake 
> than the command line arguments.
>
>  
>
> If you want to run an agent, and that agent is a Linux agent (or FreeBSD 
> or macOS or Solaris or Raspbian or ...), then my first preference is to use 
> the "ssh based" technique to start the agent, instead of using the JNLP 
> based technique to start the agent.
>
>  
>
> If you want to run an agent and that agent is Windows, then you'll need to 
> use the JNLP based method.  In my small environments, I've preferred to 
> configure Windows agents to launch themselves from a command line on the 
> Windows agent computer, rather than trying to make the Jenkins master start 
> the agent.
>
>  
>
> Mark Waite
>
>  
>
> On Thu, Mar 22, 2018 at 9:07 AM Ana MB <[email protected] 
> <javascript:>> wrote:
>
> 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/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]> 
> 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]> 
> 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/s1600/1.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].
>
>
> 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].
> 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] <javascript:>.
> 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.
>
> -- 
> 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/CAO49JtHorUeyHaZOf3a59ZKLuHpzbo12w05R8WaNc5tKZnRHXQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHorUeyHaZOf3a59ZKLuHpzbo12w05R8WaNc5tKZnRHXQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
> ------------------------------
> <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/f3f33c62-6ad2-4171-96b4-f715a17704f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to