Jenkins要求TFS EULA接受

Rid*_*ari 3 tfs jenkins

我在Jenkins上创建了一个附加到TFS服务器的构建作业.我使用Team Explorer Everywhere来促进这一点.我第一次运行这份工作时收到以下消息:

Error: You must accept the End User License Agreement for this product.
Run Code Online (Sandbox Code Playgroud)

哪个好,我运行tf eula命令并接受了EULA.

问题是我在运行作业时仍然遇到同样的错误.

use*_*289 7

这是我用来解决问题的解决方案:

  1. 将源代码管理设置为无
  2. 添加构建步骤并选择"执行Windows批处理命令"
  3. 在命令窗口中键入tf eula -accept
  4. 运行构建
  5. 删除上面的构建步骤
  6. 将源代码管理设置回Team Foundation Server并输入详细信息
  7. 再次运行构建,它运行没有错误

希望能帮助到你