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 {
|
options {
|
||||||
durabilityHint('PERFORMANCE_OPTIMIZED')
|
durabilityHint('PERFORMANCE_OPTIMIZED')
|
||||||
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
|
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
|
||||||
|
timeout(time: 120, unit: 'MINUTES')
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage( 'BuildAndDeploy-JDK8' ) {
|
stage( 'BuildAndDeploy-JDK8' ) {
|
||||||
options { timeout(time: 120, unit: 'MINUTES') }
|
\steps {
|
||||||
steps {
|
|
||||||
mavenBuild( buildJdk, "clean deploy -U -fae -T3", 'Maven 3.5.2', defaultPublishers)
|
mavenBuild( buildJdk, "clean deploy -U -fae -T3", 'Maven 3.5.2', defaultPublishers)
|
||||||
}
|
}
|
||||||
}post {
|
|
||||||
failure {
|
|
||||||
notifyBuild( "Failure in BuildAndDeploy-JDK8 Stage ")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// stage('JDK11') {
|
// stage('JDK11') {
|
||||||
// steps {
|
// steps {
|
||||||
|
@ -76,7 +72,7 @@ pipeline {
|
||||||
notifyBuild( "Unstable Build ")
|
notifyBuild( "Unstable Build ")
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
notifyBuild( "Error in redback build ")
|
notifyBuild( "Error in redback core build ")
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
script {
|
script {
|
||||||
|
|
Loading…
Reference in New Issue