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/15 10:02:36 UTC
[phoenix] branch master updated: PHOENIX-6188 Jenkins job history
uses too much storage (addendum: gzip artifacts)
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 fe7c46c PHOENIX-6188 Jenkins job history uses too much storage (addendum: gzip artifacts)
fe7c46c is described below
commit fe7c46c77527954349c31f6c59a09b72a0075393
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 15 12:01:21 2020 +0200
PHOENIX-6188 Jenkins job history uses too much storage (addendum: gzip artifacts)
---
Jenkinsfile | 3 ++-
Jenkinsfile.github | 5 +++--
Jenkinsfile.yetus | 1 +
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 5e75328..d7f08f8 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -81,7 +81,8 @@ pipeline {
}
post {
always {
- 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"
+ sh "find HBASE_${HBASE_PROFILE}/ -name \\*.txt -exec gzip {} \\;"
+ archiveArtifacts artifacts: "HBASE_${HBASE_PROFILE}/**/target/surefire-reports/*.txt.gz,**/target/failsafe-reports/*.txt.gz,**/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"
}
diff --git a/Jenkinsfile.github b/Jenkinsfile.github
index 7a7ec7c..f203656 100644
--- a/Jenkinsfile.github
+++ b/Jenkinsfile.github
@@ -119,8 +119,6 @@ pipeline {
always {
// Has to be relative to WORKSPACE.
junit testResults: "${WORKDIR_REL}/${PATCH_REL}/**/target/**/TEST-*.xml", allowEmptyResults: true
- archiveArtifacts artifacts: "${WORKDIR_REL}/${PATCH_REL}/*", excludes: "${WORKDIR_REL}/${PATCH_REL}/precommit"
- archiveArtifacts artifacts: "${WORKDIR_REL}/${PATCH_REL}/**/*", excludes: "${WORKDIR_REL}/${PATCH_REL}/precommit/**/*"
publishHTML target: [
allowMissing: true,
keepAll: true,
@@ -130,6 +128,9 @@ pipeline {
reportFiles: 'report.html',
reportName: 'PR General Check Report'
]
+ sh "find ${WORKDIR_REL}/${PATCH_REL}/ -name \\*.txt -exec gzip {} \\;"
+ archiveArtifacts artifacts: "${WORKDIR_REL}/${PATCH_REL}/*", excludes: "${WORKDIR_REL}/${PATCH_REL}/precommit"
+ archiveArtifacts artifacts: "${WORKDIR_REL}/${PATCH_REL}/**/*", excludes: "${WORKDIR_REL}/${PATCH_REL}/precommit/**/*"
}
// Jenkins pipeline jobs fill slaves on PRs without this :(
cleanup() {
diff --git a/Jenkinsfile.yetus b/Jenkinsfile.yetus
index 7d5fb10..af776bf 100644
--- a/Jenkinsfile.yetus
+++ b/Jenkinsfile.yetus
@@ -48,6 +48,7 @@ pipeline {
always {
junit testResults: "component/**/target/**/TEST-*.xml", allowEmptyResults: true
// Has to be relative to WORKSPACE.
+ sh "find patchprocess/ -name \\*.txt -exec gzip {} \\;"
archiveArtifacts artifacts: "patchprocess/*", excludes: "patchprocess/precommit"
archiveArtifacts artifacts: "patchprocess/**/*", excludes: "patchprocess/precommit/**/*"
}