fix syntax
Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
parent
9fb3c404a4
commit
3995ab7d70
|
@ -37,9 +37,7 @@ def defaultPublishers = [artifactsPublisher(disabled: false), junitPublisher(ign
|
||||||
pipelineGraphPublisher(disabled: false)]
|
pipelineGraphPublisher(disabled: false)]
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent { label "${LABEL}" }
|
||||||
label "${LABEL}"
|
|
||||||
}
|
|
||||||
options {
|
options {
|
||||||
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
|
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
|
||||||
}
|
}
|
||||||
|
@ -47,12 +45,10 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage( 'Builds' ) {
|
stage( 'Builds' ) {
|
||||||
parallel {
|
parallel {
|
||||||
|
|
||||||
stage( 'BuildAndDeploy-JDK8' ) {
|
stage( 'BuildAndDeploy-JDK8' ) {
|
||||||
|
options { timeout(time: 120, unit: 'MINUTES') }
|
||||||
steps {
|
steps {
|
||||||
timeout( 120 ) {
|
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 {
|
} post {
|
||||||
failure {
|
failure {
|
||||||
notifyBuild( "Failure in BuildAndDeploy Stage ")
|
notifyBuild( "Failure in BuildAndDeploy Stage ")
|
||||||
|
|
Loading…
Reference in New Issue