报错信息:
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