This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git
The following commit(s) were added to refs/heads/master by this push:
new 3995ab7 fix syntax
3995ab7 is described below
commit 3995ab7d70b889810a407c7430538156783d718d
Author: olivier lamy <[email protected]>
AuthorDate: Sat Dec 29 22:11:39 2018 +1000
fix syntax
Signed-off-by: olivier lamy <[email protected]>
---
Jenkinsfile | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index ccbc9cb..4a8fb73 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -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 ")