Change build status to succes in jenkins
<p>My jenkins jobs use testlink to store their test results. The testlink plugin changes the build status to unstable if a test has failed.</p>
<p>However I want the build result to be determind by Xunit plugin in a post-build action because with Xunit you can adapt a failure threshold.
The build should only be unstable if there are new errors.</p>
<p>I was hoping to do the following:</p>
<blockquote>
<p>--test--</p>
<p>--testlink -&gt; marked as unstable --</p>
<p>-- groovy scipt --&gt; marked as succes --</p>
<p>build.result = hudson.model.Result.SUCCESS</p>
<p>-- xunit, checks threshold for unstable/succes --</p>
</blockquote>
<p>However it seems impossible to change the build status back to success.
So now testlink marks as unstable, and xunit mirros that status.</p>
<p>Is there a way to work around this problem?</p>