1.Jenkins代理配置

代理密码为空,下面的配置好像是可以的,或者删掉secretPassword中的内容

  1. <?xml version='1.1' encoding='UTF-8'?>
  2. <proxy>
  3. <name>localhost</name>
  4. <port>1080</port>
  5. <userName>hello</userName>
  6. <noProxyHost></noProxyHost>
  7. <secretPassword>{AQAAABAAAAAQz4LeQAWHtemZ2Q6EUTJh8BdYYtFxqRD0K+BZUG+GcZ8=}</secretPassword>
  8. <testUrl>https://www.google.com</testUrl>
  9. </proxy>

代理密码明文

  1. syhnb123456

配置文件内容

  1. root@hongkong:/var/lib/jenkins# pwd
  2. /var/lib/jenkins
  3. root@hongkong:/var/lib/jenkins# cat proxy.xml
  4. <?xml version='1.1' encoding='UTF-8'?>
  5. <proxy>
  6. <name>localhost</name>
  7. <port>1080</port>
  8. <userName>hello</userName>
  9. <noProxyHost></noProxyHost>
  10. <secretPassword>{AQAAABAAAAAQkelDqbBFpD8St4MiegLGhjyJKQBHmKrWn+3dubnqDec=}</secretPassword>
  11. <testUrl></testUrl>
  12. </proxy>

迁移过后是否生效不清楚,因为加密过程中的slat可能不同