Merge "Cleaning up heavy files v2 with true if not found"
diff --git a/jjb/pipeline/voltha-dt-physical-functional-tests.groovy b/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
index 0b73874..dd782cc 100644
--- a/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
+++ b/jjb/pipeline/voltha-dt-physical-functional-tests.groovy
@@ -278,12 +278,15 @@
extract_errors_python onos >> $WORKSPACE/error-report.log
gzip error-report.log || true
+ rm error-report.log || true
cd $WORKSPACE/kind-voltha/scripts/logger/combined/
tar czf $WORKSPACE/container-logs.tgz *
+ rm * || true
cd $WORKSPACE
gzip *-combined.log || true
+ rm *-combined.log || true
# collect ETCD cluster logs
mkdir -p $WORKSPACE/etcd
diff --git a/jjb/pipeline/voltha-physical-functional-tests.groovy b/jjb/pipeline/voltha-physical-functional-tests.groovy
index 15eaad7..53a4450 100644
--- a/jjb/pipeline/voltha-physical-functional-tests.groovy
+++ b/jjb/pipeline/voltha-physical-functional-tests.groovy
@@ -272,12 +272,15 @@
extract_errors_python onos >> $WORKSPACE/error-report.log
gzip error-report.log || true
+ rm error-report.log || true
cd $WORKSPACE/kind-voltha/scripts/logger/combined/
tar czf $WORKSPACE/container-logs.tgz *
+ rm * || true
cd $WORKSPACE
gzip *-combined.log || true
+ rm *-combined.log || true
# collect ETCD cluster logs
mkdir -p $WORKSPACE/etcd
diff --git a/jjb/pipeline/voltha-tt-physical-functional-tests.groovy b/jjb/pipeline/voltha-tt-physical-functional-tests.groovy
index 687fb66..dce2066 100644
--- a/jjb/pipeline/voltha-tt-physical-functional-tests.groovy
+++ b/jjb/pipeline/voltha-tt-physical-functional-tests.groovy
@@ -215,12 +215,15 @@
extract_errors_python onos >> $WORKSPACE/error-report.log
gzip error-report.log || true
+ rm error-report.log || true
cd $WORKSPACE/kind-voltha/scripts/logger/combined/
tar czf $WORKSPACE/container-logs.tgz *
+ rm * || true
cd $WORKSPACE
gzip *-combined.log || true
+ rm *-combined.log || true
'''
script {
deployment_config.olts.each { olt ->