I have a TFS 2013 Update 2 buildserver. When I build a project, I checkout some files, alter some things and check it in again. This works great. The only problem is when someone has checkout one of those files, the buildserver will see that as an error and the build will be partially succeeded. Actually it is just an information message but the build sees it as an error. How can I suppress those messages?
I have the following Powershell command:
Add-TfsPendingChange -Edit -Item $PathToFolderToCheckout -Recurse
The command is from the TFS 2013 Power Tools.
I tried the following but it doesn't work:
- Add
-ErrorAction
withIgonore
andSilentlyContinue
- Add
-Out-Null
- Try and empty Catch
The message that is thrown for each file is: Path to file: opened for edit in Workspace;Ralph Jansen
Thanks