← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~adam-collard/maas-ci/+git/maas-ci-internal:rm-junit-xml into ~maas-committers/maas-ci/+git/maas-ci-internal:main

 

Adam Collard has proposed merging ~adam-collard/maas-ci/+git/maas-ci-internal:rm-junit-xml into ~maas-committers/maas-ci/+git/maas-ci-internal:main.

Commit message:
Clean up old junit.xml files before running tests



Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~adam-collard/maas-ci/+git/maas-ci-internal/+merge/439720
-- 
Your team MAAS Committers is requested to review the proposed merge of ~adam-collard/maas-ci/+git/maas-ci-internal:rm-junit-xml into ~maas-committers/maas-ci/+git/maas-ci-internal:main.
diff --git a/jobs/launchpad-ci/job-tester.groovy b/jobs/launchpad-ci/job-tester.groovy
index 25b4354..2ed6afe 100644
--- a/jobs/launchpad-ci/job-tester.groovy
+++ b/jobs/launchpad-ci/job-tester.groovy
@@ -38,6 +38,7 @@ pipeline {
                 mkdir -p /home/ubuntu
                 chown ubuntu:ubuntu /home/ubuntu
                 echo "ubuntu ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-docker
+                rm -f ${WORKSPACE}/junit*.xml
                 '''
                 {{ common.clone_ci_repo_step() }}
             }

Follow ups