Jenkins Svn自动发布脚本总是提示需要存储密码的解决方法


报错信息:

ATTENTION!  Your password for authentication realm:

   <http://192.168.2.49:81> VisualSVN Server

can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/var/lib/jenkins/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? svn: E070014: Unable to connect to a repository at URL 'http://192.168.2.49:81/svn/JgwPlatform/platform-codecenter/platform-common-code'
svn: E070014: Can't read stdin: End of file found
Build step 'Execute shell' marked build as failure

解决方法:
  svn参数: --no-auth-cache : do not cache authentication tokens
执行命令的时候:/usr/bin/svn update --username slq --password 112233 --no-auth-cache


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM