由于做了nginx反向代理
slave-agent.jnlp 中的ip域名要改为具体的ip
<jnlp codebase="http://192.168.200.0:8080/computer/192.168.200.2/" spec="1.0+"><information><title>Agent for 192.168.200.2</title><vendor>Jenkins project</vendor><homepage href="https://jenkins-ci.org/"/></information><security><all-permissions/></security><resources><j2se version="1.8+"/><jar href="https://jenkins.50yc.cn/jnlpJars/remoting.jar"/></resources><application-desc main-class="hudson.remoting.jnlp.Main"><argument>*******</argument><argument>192.168.200.2</argument><argument>-workDir</argument><argument>E:\JenkinsWorkspace43</argument><argument>-internalDir</argument><argument>remoting</argument><argument>-url</argument><argument>http://192.168.200.0:8080/</argument><argument>-url</argument><argument>http://192.168.200.0:8080/</argument></application-desc></jnlp>