Jenkins slave agent launch fails

后端 未结 2 1898
夕颜
夕颜 2021-02-08 09:54

When launching a slave agent from a slave machine using the \"Launch agent from browser on slave\" option, it fails. It opens a window for slave-agent.jnlp and when opened with

相关标签:
2条回答
  • 2021-02-08 10:28

    After installing the Jenkins slave as a service, go to the configured "Remote root directory" on your slave, open the jenkins-slave.xml file in a text editor, add -noCertificateCheck to the end of the <arguments> tag, and restart the service. That should get rid of the certificate exception.

    0 讨论(0)
  • 2021-02-08 10:40

    First, from the control panel select "Java". Select "Advanced" tab. Extend "Security". Ensure "Enable online certificate validation", and "Enable online certificate validation for publisher certificate only" are unchecked.

    Then run the JNLP file. You need to create the Jenkins root directory if it does not exist.

    Finally, follow @sschuberth's answer.

    0 讨论(0)
提交回复
热议问题