diff options
author | Martin Stockhammer <martin_s@apache.org> | 2018-05-05 20:55:11 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2018-05-05 20:55:11 +0200 |
commit | 651421112e298e106397586ec1d3d5a0d0a1f859 (patch) | |
tree | 2768a6719ec8d9254372a0f2909cbe2685c6da6c /Jenkinsfile-itest | |
parent | 40bb3fd7bea2828e63205e57c35bd5d90a32746e (diff) | |
download | archiva-651421112e298e106397586ec1d3d5a0d0a1f859.tar.gz archiva-651421112e298e106397586ec1d3d5a0d0a1f859.zip |
Fixing result check
Diffstat (limited to 'Jenkinsfile-itest')
-rw-r--r-- | Jenkinsfile-itest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile-itest b/Jenkinsfile-itest index 751213173..7cc101508 100644 --- a/Jenkinsfile-itest +++ b/Jenkinsfile-itest @@ -155,7 +155,7 @@ pipeline { success { script { def previousResult = currentBuild.previousBuild?.result - if (previousResult && !currentBuild.isWorseOrEqual(previousResult)) { + if (previousResult && !currentBuild.resultIsWorseOrEqualTo(previousResult)) { notifyBuild("Fixed: ${currentBuild.currentResult}") } } |