Switch to currentBuild.result

This commit is contained in:
Christian Beikov 2022-04-08 11:59:39 +02:00
parent ea5d28fa62
commit a6f6812633
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -206,7 +206,7 @@ stage('Build') {
runTest("-Pdb=${buildEnv.dbName}_ci${state[buildEnv.tag]['additionalOptions']}")
break;
}
env[buildEnv.tag + '_status'] = flowRun.state.result;
env[buildEnv.tag + '_status'] = currentBuild.result;
}
}
finally {