How to create an agent in Linux from console Bee Bot July 13, 2022 11:29 Updated The content of this article has moved to the new documentation site. Related articles How to Connect to Remote SSH Agents? How to install Windows agents as a service? Why is the option 'Launch agent by connecting it to the controller' not available Host Key Verification for SSH Agents dedicated agents are not able to connect Comments 1 comment Sort by Date Votes mark.kenneally Kenneally November 14, 2019 13:17 Edited Using -jnlpCredentials userJenkinsMaster:passwordJenkinsMaster means that the Jenkins master password is available to any user who can run a job with the line "ps -aef" on the agent. We have used this format: curl -O -u userJenkinsMaster:passwordJenkinsMaster http://YourJenkinsMaster:8080/computer/NameOfYourSlave/slave-agent.jnlpexport JENKINS_SECRET=$(grep -E -o "[a-z0-9]{64}" slave-agent.jnlp)nohup java -jar /opt/jenkins/slave.jar -jnlpUrl http://YourJenkinsMaster:8080/computer/NameOfYourSlave/slave-agent.jnlp -secret $JENKINS_SECRET & 0 Please sign in to leave a comment.
Comments
1 comment
Using -jnlpCredentials userJenkinsMaster:passwordJenkinsMaster means that the Jenkins master password is available to any user who can run a job with the line "ps -aef" on the agent.
We have used this format:
Please sign in to leave a comment.