fix syntax

Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
olivier lamy 2018-12-29 22:11:39 +10:00
parent 9fb3c404a4
commit 3995ab7d70
1 changed files with 3 additions and 7 deletions

10
Jenkinsfile vendored
View File

@ -37,9 +37,7 @@ def defaultPublishers = [artifactsPublisher(disabled: false), junitPublisher(ign
pipelineGraphPublisher(disabled: false)]
pipeline {
agent {
label "${LABEL}"
}
agent { label "${LABEL}" }
options {
buildDiscarder(logRotator(numToKeepStr: '7', artifactNumToKeepStr: '5'))
}
@ -47,12 +45,10 @@ pipeline {
stages {
stage( 'Builds' ) {
parallel {
stage( 'BuildAndDeploy-JDK8' ) {
options { timeout(time: 120, unit: 'MINUTES') }
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 {
failure {
notifyBuild( "Failure in BuildAndDeploy Stage ")