aboutsummaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2018-05-05 20:55:11 +0200
committerMartin Stockhammer <martin_s@apache.org>2018-05-05 20:55:11 +0200
commit651421112e298e106397586ec1d3d5a0d0a1f859 (patch)
tree2768a6719ec8d9254372a0f2909cbe2685c6da6c /Jenkinsfile
parent40bb3fd7bea2828e63205e57c35bd5d90a32746e (diff)
downloadarchiva-651421112e298e106397586ec1d3d5a0d0a1f859.tar.gz
archiva-651421112e298e106397586ec1d3d5a0d0a1f859.zip
Fixing result check
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index e3ffc011b..2dc13129f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -94,7 +94,7 @@ pipeline {
archiveArtifacts '**/target/*.war,**/target/*-bin.zip'
script {
def previousResult = currentBuild.previousBuild?.result
- if (previousResult && !currentBuild.isWorseOrEqual(previousResult)) {
+ if (previousResult && !currentBuild.resultIsWorseOrEqualTo(previousResult)) {
notifyBuild("Fixed: ${currentBuild.currentResult}")
}
}