fix syntax
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
cd7d851f73
commit
79317d78fa
|
@ -41,18 +41,14 @@ pipeline {
|
|||
options {
|
||||
durabilityHint('PERFORMANCE_OPTIMIZED')
|
||||
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
|
||||
timeout(time: 120, unit: 'MINUTES')
|
||||
}
|
||||
|
||||
stages {
|
||||
stage( 'BuildAndDeploy-JDK8' ) {
|
||||
options { timeout(time: 120, unit: 'MINUTES') }
|
||||
steps {
|
||||
\steps {
|
||||
mavenBuild( buildJdk, "clean deploy -U -fae -T3", 'Maven 3.5.2', defaultPublishers)
|
||||
}
|
||||
}post {
|
||||
failure {
|
||||
notifyBuild( "Failure in BuildAndDeploy-JDK8 Stage ")
|
||||
}
|
||||
}
|
||||
// stage('JDK11') {
|
||||
// steps {
|
||||
|
@ -76,7 +72,7 @@ pipeline {
|
|||
notifyBuild( "Unstable Build ")
|
||||
}
|
||||
failure {
|
||||
notifyBuild( "Error in redback build ")
|
||||
notifyBuild( "Error in redback core build ")
|
||||
}
|
||||
success {
|
||||
script {
|
||||
|
|
Loading…
Reference in New Issue