Skip to content

Commit

Permalink
Debugging benchmark by pusblishing test log artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Avila <sebastianavila@google.com>
  • Loading branch information
sebastianavila5 committed Dec 23, 2024
1 parent 62ef626 commit 45fbbff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,17 @@ stages:
ls -l bazel-out
echo "File ls testlogs:"
ls -l bazel-testlogs
BAZEL_OUT=$(readlink bazel-testlogs)
echo "readlink"
ls -l $BAZEL_OUT
echo "##vso[task.setvariable variable=TARGET_LOG_PATH]$BAZEL_OUT"
condition: always()
displayName: "ls"
- task: PublishPipelineArtifact@1
condition: always()
displayName: 'Publish Benchmark Test Log'
inputs:
targetPath: bazel-testlogs/benchmarks/test_dynamic_benchmarks/test.log
targetPath: $(TARGET_LOG_PATH)/benchmarks/test_dynamic_benchmarks/test.log
artifactName: BenchmarkTestLog-$(System.JobAttempt)

- stage: test_gcc
Expand Down

0 comments on commit 45fbbff

Please sign in to comment.