dcsimg
Using Exec's "outputproperty" to Fail a build?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Karl_Leipzig
Posted On:   Thursday, November 8, 2001 01:06 AM

What would be a concise solution to Fail a build according to the return code (stored in outputproperty) from an Exec Task?


Thank you!

Re: Using Exec's "outputproperty" to Fail a build?

Posted By:   Erik_Hatcher  
Posted On:   Thursday, November 8, 2001 06:01 AM

Use the failonerror attribute set to "true" (or "yes" or "on") to fail if the return code of the process is not zero. outputproperty is where the actual output of the process gets stored, not the return code.
About | Sitemap | Contact