richardantal commented on a change in pull request #911:
URL: https://github.com/apache/phoenix/pull/911#discussion_r499555040
##########
File path: 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"
Review comment:
I think HBASE_${HBASE_PROFILE}/ should be before the **/target
everywhere.
Maybe you could split it to multiple lines.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]