github.com/xgoffin/jenkins-library@v1.154.0/vars/buildSetResult.groovy (about) 1 void call(currentBuild, result = 'SUCCESS') { 2 echo "Current build result is ${currentBuild.result}, setting it to ${result}." 3 currentBuild.result = result 4 }