fix syntax
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
50df55e3cc
commit
162fb0fa50
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue