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 92e5908 PHOENIX-6173 Archive test artifacts in Jenkins multibranch
postcommit job
92e5908 is described below
commit 92e5908d6af51e9be18d90c14a22569b5ad9e937
Author: Istvan Toth <[email protected]>
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 ea9e3b6..f87b12e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -71,15 +71,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"
}
}
}