You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/08/26 06:24:14 UTC

[phoenix] branch master updated: PHOENIX-6056 Migrate from builds.apache.org by August 15 (addendum: use stage level timout instead of global)

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

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


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

commit 1cb4f1f1ef93b5b6a0f7a34ed2caa40c9a556d75
Author: Istvan Toth <st...@apache.org>
AuthorDate: Wed Aug 26 08:22:06 2020 +0200

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

diff --git a/Jenkinsfile b/Jenkinsfile
index 7bb97e9..058208a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -21,7 +21,6 @@ pipeline {
 
     options {
         buildDiscarder(logRotator(daysToKeepStr: '30'))
-        timeout(time: 6, unit: 'HOURS')
         timestamps()
     }
 
@@ -51,6 +50,9 @@ pipeline {
                 stages {
 
                     stage('RebuildHBase') {
+                        options {
+                            timeout(time: 30, unit: 'MINUTES')
+                        }
                         environment {
                             HBASE_VERSION = sh(returnStdout: true, script: "mvn help:evaluate -Dhbase.profile=${HBASE_PROFILE} -Dartifact=org.apache.phoenix:phoenix-core -Dexpression=hbase.version -q -DforceStdout").trim()
                         }
@@ -65,8 +67,14 @@ pipeline {
                     }
 
                     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 {