Jenkins job status control how to change it?
<p>I'm using RTC plugin to checkout source code and for some unbeknownst reason, while functionally working fine, it spits out a null pointer (I don't know how to debug it further), which looks like this:</p>

<pre><code> 13:26:28 RTC Checkout : Fetching files to fetch destination "C:\.jenkins\jobs\...
 13:26:49 RTC Checkout : Fetching Completed
 13:26:49 ERROR: java.lang.NullPointerException
</code></pre>

<p>Nothing else about it is printed in the log. Now this the build runs fine, all other tasks/steps execute and complete, but even if they all pass, the build still gets marked as Finished: FAILURE</p>

<p>I believe (I am sure?) it's because of this strange nullpointer in SCM plugin of Jenkins. Is there any way to tell Jenkins to ignore this step or mark build successful based on other criteria (example maven BUILD SUCCESS output)? It's probably too difficult to fix the RTC plugin, so I want to tell Jenkins how to set the Finish status correctly...</p>