This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x by this push:
     new 3543183  PHOENIX-6056 Migrate from builds.apache.org by August 15 
(addendum: use stage level timout instead of global)
3543183 is described below

commit 35431837cbd4fc39c1d5f5fc4652776db92c542b
Author: Istvan Toth <st...@apache.org>
AuthorDate: Wed Aug 26 08:27:52 2020 +0200

    PHOENIX-6056 Migrate from builds.apache.org by August 15 (addendum: use 
stage level timout instead of global)
---
 Jenkinsfile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 981198f..e7ca83d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,7 +21,6 @@ pipeline {
 
     options {
         buildDiscarder(logRotator(daysToKeepStr: '30'))
-        timeout(time: 6, unit: 'HOURS')
         timestamps()
     }
 
@@ -51,8 +50,14 @@ pipeline {
                 stages {
 
                     stage('BuildAndTest') {
+                        options {
+                            timeout(time: 5, unit: 'HOURS')
+                        }
                         steps {
-                            sh "mvn clean verify 
-Dhbase.profile=${HBASE_PROFILE} -B"
+                            sh """#!/bin/bash
+                                ulimit -S -u 60000
+                                mvn clean verify 
-Dhbase.profile=${HBASE_PROFILE} -B
+                            """
                         }
                         post {
                             always {

Reply via email to