VOL-2567 Compress container logs
Change-Id: Ide7eeb97df345b683565419e9b13d8b154d89037
diff --git a/jjb/pipeline/voltha-physical-build-and-tests.groovy b/jjb/pipeline/voltha-physical-build-and-tests.groovy
index b21c518..3f9eda8 100644
--- a/jjb/pipeline/voltha-physical-build-and-tests.groovy
+++ b/jjb/pipeline/voltha-physical-build-and-tests.groovy
@@ -347,6 +347,8 @@
extract_errors_python adapter-open-onu >> $WORKSPACE/error-report.log
extract_errors_python voltha-ofagent >> $WORKSPACE/error-report.log
+ gzip $WORKSPACE/onos-voltha-combined.log
+
## collect events, the chart should be running by now
kubectl get pods | grep -i voltha-kafka-dump | grep -i running
if [[ $? == 0 ]]; then
@@ -372,7 +374,7 @@
passThreshold: 80,
reportFileName: 'RobotLogs/report*.html',
unstableThreshold: 0]);
- archiveArtifacts artifacts: '*.log'
+ archiveArtifacts artifacts: '*.log,*.gz'
}
}
}