1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/vars/buildSetResult.groovy

5 lines
165 B
Groovy
Raw Normal View History

void call(currentBuild, result = 'SUCCESS') {
echo "Current build result is ${currentBuild.result}, setting it to ${result}."
currentBuild.result = result
}