#2648 - trying to fix the artifacts publish stage. currently creating tar.gz and publishing that
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user