Automatic registration with tf.exe failed with TFS policy error

We have enabled automatic registration in the TFS build, which throws an error regarding policy failure even if registration is complete.

The command we use is this:

C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ tf.exe checkin FileSpec1 .. FileSpec2 ../ bypass / override: "Check in from auto build" / comment: "Check - from auto build D- BuildName-M_20141013.6

The error we get in the TFS build log:

Handle error from TF TF10139: The following registration policies have not been met: input State: True You must associate this registration with one or more work items.

However, from the documentation I can find setting the flag / override should stop this from the moment it starts.

verification team

The file gets a checkbox, but the build is partial success due to this error.

+3


source to share





All Articles