Exit status in a post command build
![](http://jazz.net/_images/myphoto/5f7a6e4ca24939b3d00207c59f8cddb2.jpg)
How can I get the return code in a post command build?
I have the following post commands in a build definition:
echo "Hello"
echo $?
But $? returns: ? and it should returns 0 because echo "Hello" finished OK. How can I get that status code or what other way exists for getting the status code from echo "Hello"?