You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2019/04/10 20:32:52 UTC
[directory-ldap-api] branch master updated: Enable tests for Java
12. Configure timeouts per stage.
This is an automated email from the ASF dual-hosted git repository.
seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git
The following commit(s) were added to refs/heads/master by this push:
new 56b69ba Enable tests for Java 12. Configure timeouts per stage.
56b69ba is described below
commit 56b69ba7ff927b2efb711920b6255ab11932ee64
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Wed Apr 10 22:32:37 2019 +0200
Enable tests for Java 12. Configure timeouts per stage.
---
Jenkinsfile | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 4001e9f..afe2efd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -20,7 +20,7 @@ pipeline {
agent none
options {
buildDiscarder(logRotator(numToKeepStr: '3'))
- timeout(time: 2, unit: 'HOURS')
+ timeout(time: 8, unit: 'HOURS')
}
triggers {
cron('@weekly')
@@ -28,6 +28,9 @@ pipeline {
}
stages {
stage ('Debug') {
+ options {
+ timeout(time: 1, unit: 'HOURS')
+ }
agent {
docker {
label 'ubuntu'
@@ -45,6 +48,9 @@ pipeline {
}
}
stage ('Build and Test') {
+ options {
+ timeout(time: 2, unit: 'HOURS')
+ }
parallel {
stage ('Linux Java 8') {
agent {
@@ -90,7 +96,7 @@ pipeline {
}
}
steps {
- sh 'mvn -V clean verify -DskipTests'
+ sh 'mvn -V clean verify'
}
post {
always {
@@ -118,6 +124,9 @@ pipeline {
}
}
stage ('Deploy') {
+ options {
+ timeout(time: 2, unit: 'HOURS')
+ }
agent {
label 'ubuntu'
}