詹金斯要求TFS EULA接受 [英] Jenkins requires TFS EULA acceptance

查看:243
本文介绍了詹金斯要求TFS EULA接受的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Jenkins上创建了一个构建作业,该作业连接到TFS服务器.我使用Team Explorer Everywhere来简化此过程.第一次执行工作时,我收到以下消息:

I created a build job on Jenkins that is attached to a TFS server. I used Team Explorer Everywhere to facilitate this. The first time I ran the job, I got the following message:

Error: You must accept the End User License Agreement for this product.

这很好,我运行了tf eula命令并接受了EULA.

Which is fine, I ran the tf eula command and accepted the EULA.

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

The problem is that I'm still getting the same error when running the job.

推荐答案

以下是我用来解决此问题的解决方案:

Here is the solution that I used to resolve the issue:

  1. 将源代码管理"设置为无"
  2. 添加构建步骤并选择执行Windows批处理命令"
  3. 在命令窗口中
  4. 键入 tf eula -accept
  5. 运行构建
  6. 删除上述构建步骤
  7. 将源代码管理"设置回Team Foundation Server并输入详细信息
  8. 再次运行构建,它运行无误
  1. Set the Source Code Management to None
  2. Add build step and choose Execute Windows batch command
  3. type tf eula -accept in the command window
  4. Run the build
  5. Remove the above build step
  6. Set Source Code Management back to Team Foundation Server and enter the details
  7. Run the build again and it ran without error

希望有帮助

这篇关于詹金斯要求TFS EULA接受的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆