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/10/05 12:31:07 UTC
[phoenix] branch 4.x updated: PHOENIX-6173 Archive test artifacts
in Jenkins multibranch postcommit job
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 3008ca9 PHOENIX-6173 Archive test artifacts in Jenkins multibranch postcommit job
3008ca9 is described below
commit 3008ca9e7ddc4db6af756f425660113be1e9196e
Author: Istvan Toth <st...@apache.org>
AuthorDate: Fri Oct 2 09:43:44 2020 +0200
PHOENIX-6173 Archive test artifacts in Jenkins multibranch postcommit job
---
Jenkinsfile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 3319d82..e8e88ef 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -54,15 +54,19 @@ pipeline {
timeout(time: 5, unit: 'HOURS')
}
steps {
- sh """#!/bin/bash
- ulimit -a
- mvn clean verify -Dhbase.profile=${HBASE_PROFILE} -B
- """
+ dir("HBASE_${HBASE_PROFILE}") {
+ checkout scm
+ sh """#!/bin/bash
+ ulimit -a
+ mvn clean verify -Dhbase.profile=${HBASE_PROFILE} -B
+ """
+ }
}
post {
always {
- junit '**/target/surefire-reports/TEST-*.xml'
- junit '**/target/failsafe-reports/TEST-*.xml'
+ archiveArtifacts artifacts: "HBASE_${HBASE_PROFILE}/**/target/surefire-reports/*.txt,**/target/failsafe-reports/*.txt,**/target/surefire-reports/*.dumpstream,**/target/failsafe-reports/*.dumpstream,**/target/surefire-reports/*.dump,**/target/failsafe-reports/*.dump"
+ junit "HBASE_${HBASE_PROFILE}/**/target/surefire-reports/TEST-*.xml"
+ junit "HBASE_${HBASE_PROFILE}/**/target/failsafe-reports/TEST-*.xml"
}
}
}