From 0ee243a242b47dc109905b2a089d42406dea89c7 Mon Sep 17 00:00:00 2001 From: Chris McCarthy Date: Wed, 26 Jun 2024 09:09:16 +0100 Subject: [PATCH] #2648 - trying to fix the artifacts publish stage. currently creating tar.gz and publishing that --- .azure/azure-benchmark-pipeline.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.azure/azure-benchmark-pipeline.yaml b/.azure/azure-benchmark-pipeline.yaml index 133de713..f0c7c063 100644 --- a/.azure/azure-benchmark-pipeline.yaml +++ b/.azure/azure-benchmark-pipeline.yaml @@ -72,13 +72,13 @@ steps: condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) - script: | - mkdir -p artifact_output/benchmark/results/v$(MAJOR_VERSION) - cp -r benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) artifact_output/benchmark/results/v$(MAJOR_VERSION)/ + ls benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) + tar czf benchmark.tar.gz benchmark/results/v$(MAJOR_VERSION)/v$(VERSION) displayName: 'Prepare Artifacts for Publishing' - task: PublishPipelineArtifact@1 inputs: - targetPath: 'artifact_output/benchmark/results' # Path to the files you want to publish + targetPath: benchmark.tar.gz # Path to the files you want to publish artifactName: 'benchmark-output' # Name of the artifact publishLocation: 'pipeline' displayName: 'Publish Benchmark Output as Artifact'