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 09:54:00 UTC
[phoenix-connectors] branch master updated: PHOENIX-6188 Jenkins
job history uses too much storage (addendum: gzip txt 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-connectors.git
The following commit(s) were added to refs/heads/master by this push:
new ea83930 PHOENIX-6188 Jenkins job history uses too much storage (addendum: gzip txt artifacts)
ea83930 is described below
commit ea839301a2bc60641c10ae76f9cf577bbe7f7cb8
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 15 11:52:55 2020 +0200
PHOENIX-6188 Jenkins job history uses too much storage (addendum: gzip txt artifacts)
---
dev/Jenkinsfile | 5 +++--
dev/Jenkinsfile.github | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/dev/Jenkinsfile b/dev/Jenkinsfile
index 4a0f950..3bc9850 100644
--- a/dev/Jenkinsfile
+++ b/dev/Jenkinsfile
@@ -48,9 +48,10 @@ pipeline {
}
post {
always {
- archiveArtifacts artifacts: '**/target/surefire-reports/*.txt'
+ sh 'find . -name \\*.txt -exec gzip {} \\;'
+ archiveArtifacts artifacts: '**/target/surefire-reports/*.txt.gz'
archiveArtifacts artifacts: '**/target/surefire-reports/*.dumpstream'
- archiveArtifacts artifacts: '**/target/failsafe-reports/*.txt'
+ archiveArtifacts artifacts: '**/target/failsafe-reports/*.txt.gz'
archiveArtifacts artifacts: '**/target/failsafe-reports/*.dumpstream'
junit '**/target/surefire-reports/TEST-*.xml'
junit '**/target/failsafe-reports/TEST-*.xml'
diff --git a/dev/Jenkinsfile.github b/dev/Jenkinsfile.github
index e11123e..d3f0853 100644
--- a/dev/Jenkinsfile.github
+++ b/dev/Jenkinsfile.github
@@ -122,8 +122,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,
@@ -133,6 +131,9 @@ pipeline {
reportFiles: 'report.html',
reportName: 'PR General Check Report'
]
+ sh "find ${WORKDIR_REL}/${PATCH_REL}/output/ -type f -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() {