How to print .bat script error into summary section when running a TFS build definition

555 views Asked by At

I'm running a .bat file via the InvokeProcess activity in a build process template.

The file is well executed along within a queued build but the error log (to the console) of my .bat file is not visible in the Summary section of the executed build report.

How can we print our message into this section?

ps.

When I put error command in my .bat file, the build is just continued without any error text displayed. The build even results as succeeded.

0

There are 0 answers