I add a power shell step in my build definition(vNext). I want to execute Tf checkin command to checkin one file during the build process. We have only one Checkin policy for Mandatory checkin comments.
I started with tf checkin command and passed through some road blocks to successfully checkin my file. But i still have a warning logged in my Changeset details which says below warning message :
Microsoft.TeamFoundation.VersionControl.Controls.PolicyEvaluationStub Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (Object reference not set to an instance of an object.). Installation instructions:
Below is my command :
tf Checkin $source_dir /comment:"Publish new version details" /noprompt /force /bypass /override:"Publishing Version details"
I tried to follow some of the links provided at M/S Developer Community and MSDN Forums . They don't provide a definite answer and say that the issue is fixed in the next build agent versions. Out TFS agents or on the latest TFS build agent version (2.117.2) so i assume the fix is already included in my agent version .
I need to get rid of this warning message in my Changeset details.Below is the screenshot
Warning message in Changeset details
Appreciate any help here.Thanks