Skip to content

Commit 3015a1f

Browse files
committed
Merge branch 'master' of github.com:GateNLP/gateplugin-StringAnnotation
2 parents 091bfcf + 14e8d0d commit 3015a1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pipeline {
2525
}
2626
stage('Document') {
2727
when{
28-
expression { currentBuild.result != "FAILED" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 }
28+
expression { currentBuild.currentResult != "FAILED" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 }
2929
}
3030
steps {
3131
sh 'mvn -e -DskipTests site'
@@ -42,7 +42,7 @@ pipeline {
4242
stage('Deploy') {
4343
when{
4444
branch 'master'
45-
expression { currentBuild.result == "SUCCESS" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 }
45+
expression { currentBuild.currentResult == "SUCCESS" && currentBuild.changeSets != null && currentBuild.changeSets.size() > 0 }
4646
}
4747
steps {
4848
sh 'mvn -e -Dmaven.test.skip=true source:jar javadoc:jar deploy'

0 commit comments

Comments
 (0)