jenkins在windows slave上执行svn命令报错

"svn: E170001: Can't get username or password"

Posted by Jht on August 16, 2016

现象

#jenkins上执行svn命令
svn up

报错如下:

svn: E170013: Unable to connect to a repository at URL 'svn://svn.xsjme.com/rog2/pirates/trunk'
svn: E170001: Can't get username or password

windows slave上执行是没有问题的

解决办法

修改jenkins服务的权限

  • 找到jenkins服务
  • 右键,选择属性
  • 点击登陆

img