"New Build Definition" in Team Explorer doesn't allow you to force a build to run more frequently than once every 24 hours. Is this possible?
团队资源管理器中的“新建构建定义”不允许您强制构建比每24小时更频繁地运行一次。这可能吗?
I want the tests to run every hour regardless of whether any changes have been checked in.
我希望测试每小时运行一次,无论是否已检查任何更改。
I think this is possible by creating a scheduled task but I'd rather keep the solution in TFS if possible.
我认为通过创建计划任务可以实现这一点,但如果可能的话,我宁愿将解决方案保留在TFS中。
Thanks, Chris
2 个解决方案
#1
"I want the tests to run every hour regardless of whether any changes have been checked in." - Why? What would this achieve? If nothing has changed, then it is pointless rebuilding.
“我希望测试每小时运行一次,无论是否已经检查过任何更改。” - 为什么?这会实现什么?如果什么都没有改变,那么它就是毫无意义的重建。
Suggest you set up to queue a build on checkin.
建议您设置为在checkin上排队构建。
#2
Thanks for your suggestions.
谢谢你的建议。
I achieved what I was after by running the following command in a scheduled task:
通过在计划任务中运行以下命令,我实现了我的目标:
TFSBuild start <<TeamFoundationServer>> <<TeamProject>>
<<BuildTypeName>>
Reference: http://msdn.microsoft.com/en-us/library/bb668975.aspx
Cheers, Chris
#1
"I want the tests to run every hour regardless of whether any changes have been checked in." - Why? What would this achieve? If nothing has changed, then it is pointless rebuilding.
“我希望测试每小时运行一次,无论是否已经检查过任何更改。” - 为什么?这会实现什么?如果什么都没有改变,那么它就是毫无意义的重建。
Suggest you set up to queue a build on checkin.
建议您设置为在checkin上排队构建。
#2
Thanks for your suggestions.
谢谢你的建议。
I achieved what I was after by running the following command in a scheduled task:
通过在计划任务中运行以下命令,我实现了我的目标:
TFSBuild start <<TeamFoundationServer>> <<TeamProject>>
<<BuildTypeName>>
Reference: http://msdn.microsoft.com/en-us/library/bb668975.aspx
Cheers, Chris