詹金斯要求TFS EULA接受 [英] Jenkins requires TFS EULA acceptance
本文介绍了詹金斯要求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:
- 将源代码管理"设置为无"
- 添加构建步骤并选择执行Windows批处理命令" 在命令窗口中
- 键入 tf eula -accept
- 运行构建
- 删除上述构建步骤
- 将源代码管理"设置回Team Foundation Server并输入详细信息
- 再次运行构建,它运行无误
- Set the Source Code Management to None
- Add build step and choose Execute Windows batch command
- type tf eula -accept in the command window
- Run the build
- Remove the above build step
- Set Source Code Management back to Team Foundation Server and enter the details
- Run the build again and it ran without error
希望有帮助
这篇关于詹金斯要求TFS EULA接受的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文