I\'m having some trouble to manipulate the build result of a Jenkins pipeline. I\'ve narrowed it down to the following issue: anyone know why the following Jenkins pipeline
For simplier answer, just get raw build, and set field directly:
currentBuild.rawBuild.@result = hudson.model.Result.SUCCESS