fix syntax

Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
olivier lamy 2018-12-30 11:18:46 +10:00
parent 50df55e3cc
commit 162fb0fa50
1 changed files with 3 additions and 5 deletions

6
Jenkinsfile vendored
View File

@ -69,12 +69,12 @@ pipeline {
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
}
unstable {
scripts{
script{
asfStandardBuild.notifyBuild( "Unstable Build ")
}
}
failure {
scripts{
script{
asfStandardBuild.notifyBuild( "Error in redback core build ")
}
}
@ -82,12 +82,10 @@ pipeline {
script {
def previousResult = currentBuild.previousBuild?.result
if (previousResult && !currentBuild.resultIsWorseOrEqualTo( previousResult ) ) {
scripts{
asfStandardBuild.notifyBuild( "Fixed" )
}
}
}
}
}
}
// vim: et:ts=4:sw=4:ft=groovy