This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git
The following commit(s) were added to refs/heads/master by this push:
new 4f6c81d Jenkinsfile: fix syntax, add timeouts
4f6c81d is described below
commit 4f6c81d0eca54042644f8f367134e078b36f1cd9
Author: Robert Munteanu <[email protected]>
AuthorDate: Thu Apr 12 18:11:23 2018 +0300
Jenkinsfile: fix syntax, add timeouts
---
Jenkinsfile | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2b6a7ed..c040451 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,21 +11,27 @@ pipeline {
stages {
stage ('Build shared code') {
steps {
- sh 'mvn -f shared/modules clean install'
+ timeout(10) {
+ sh 'mvn -f shared/modules clean install'
+ }
junit 'shared/modules/**/surefire-reports/*.xml'
}
}
stage ('Build shared code P2 repository') {
steps {
- sh 'mvn -f shared/p2 clean package'
+ timeout(10) {
+ sh 'mvn -f shared/p2 clean package'
+ }
}
}
stage ('Build Eclipse plug-ins') {
steps {
- wrap([$class: 'Xvfb') {
- sh 'mvn -f eclipse clean verify'
+ wrap([$class: 'Xvfb']) {
+ timeout(20) {
+ sh 'mvn -f eclipse clean verify'
+ }
}
junit 'eclipse/**/surefire-reports/*.xml'
archiveArtifacts artifacts: 'eclipse/**/logs/*.log'
--
To stop receiving notification emails like this one, please contact
[email protected].