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 bad7aee PHOENIX-6056 Migrate from builds.apache.org by August 15 (addendum: fix node selection, clean up workDir, really use hbase.profile) bad7aee is described below commit bad7aee54370f86996b9e124e48ff8de657ed28e Author: Istvan Toth <st...@apache.org> AuthorDate: Tue Aug 25 11:24:25 2020 +0200 PHOENIX-6056 Migrate from builds.apache.org by August 15 (addendum: fix node selection, clean up workDir, really use hbase.profile) --- Jenkinsfile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6529331..981198f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,9 +17,7 @@ */ pipeline { - agent { - label 'Hadoop' - } + agent none options { buildDiscarder(logRotator(daysToKeepStr: '30')) @@ -30,7 +28,9 @@ pipeline { stages { stage('MatrixBuild') { matrix { - agent any + agent { + label 'Hadoop' + } axes { axis { @@ -52,12 +52,12 @@ pipeline { stage('BuildAndTest') { steps { - sh "mvn clean verify -B" + sh "mvn clean verify -Dhbase.profile=${HBASE_PROFILE} -B" } post { always { - junit '**/target/surefire-reports/TEST-*.xml' - junit '**/target/failsafe-reports/TEST-*.xml' + junit '**/target/surefire-reports/TEST-*.xml' + junit '**/target/failsafe-reports/TEST-*.xml' } } } @@ -82,6 +82,9 @@ pipeline { """ ) } + cleanup { + deleteDir() + } } } }