From 920ab4140040bf332dd832afebf621aeed1d46f9 Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Fri, 2 Apr 2021 14:38:37 -0700 Subject: [PATCH 1/2] Cleanup artifacts dir --- .../singletenancy/aks-swift/e2e-step-template.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml index c0479925af..e1af3fd50c 100644 --- a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml +++ b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml @@ -73,3 +73,13 @@ steps: artifactName: aks-swift-output pathtoPublish: "$(Build.ArtifactStagingDirectory)/aks-swift-output" condition: always() + + - script: | + ARTIFACT_DIR=$(Build.ArtifactStagingDirectory)/aks-swift-output/ + echo $ARTIFACT_DIR + sudo rm -rf $ARTIFACT_DIR + sudo rm -rf test/integration/logs + sudo rm * + name: "Cleanupartifactdir" + displayName: "Cleanup artifact dir" + condition: always() \ No newline at end of file From 864095cd8c98c19e9c6521179d6a6bfa1903911e Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Fri, 2 Apr 2021 14:54:26 -0700 Subject: [PATCH 2/2] Just remove log dirs --- .pipelines/singletenancy/aks-swift/e2e-step-template.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml index e1af3fd50c..91833c51b0 100644 --- a/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml +++ b/.pipelines/singletenancy/aks-swift/e2e-step-template.yaml @@ -79,7 +79,6 @@ steps: echo $ARTIFACT_DIR sudo rm -rf $ARTIFACT_DIR sudo rm -rf test/integration/logs - sudo rm * name: "Cleanupartifactdir" displayName: "Cleanup artifact dir" condition: always() \ No newline at end of file