Can I make Atlassian Bamboo to accept a different return code than 0 as success
<p>I have an issue with exciting task with type command that return different exit codes that actually is meaning success , while Atlassian Bamboo is just see 0 as success and anything else as failed.</p>

<p>I'm trying to execute <code>robocopy</code> command which 0 , 1 and 2 meaning (or even in some casses 4) nothing than its success with some notes.
See the doc: <a href="http://ss64.com/nt/robocopy-exit.html" rel="nofollow">http://ss64.com/nt/robocopy-exit.html</a></p>

<p>My example here, tht I have task of type Command execute Robocopy with the following argument: </p>

<pre><code>. c:\inetpub\CIVEBuildCentral\UI\. /IS /S /XD node_modules
</code></pre>

<p>How I can make it accept another codes rather than 0 ?</p>