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']]
|
cleanWs deleteDirs: true, notFailBuild: true, patterns: [[pattern: '.repository', type: 'EXCLUDE']]
|
||||||
}
|
}
|
||||||
unstable {
|
unstable {
|
||||||
scripts{
|
script{
|
||||||
asfStandardBuild.notifyBuild( "Unstable Build ")
|
asfStandardBuild.notifyBuild( "Unstable Build ")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
scripts{
|
script{
|
||||||
asfStandardBuild.notifyBuild( "Error in redback core build ")
|
asfStandardBuild.notifyBuild( "Error in redback core build ")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -82,9 +82,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
def previousResult = currentBuild.previousBuild?.result
|
def previousResult = currentBuild.previousBuild?.result
|
||||||
if (previousResult && !currentBuild.resultIsWorseOrEqualTo( previousResult ) ) {
|
if (previousResult && !currentBuild.resultIsWorseOrEqualTo( previousResult ) ) {
|
||||||
scripts{
|
asfStandardBuild.notifyBuild( "Fixed" )
|
||||||
asfStandardBuild.notifyBuild( "Fixed" )
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue