diff --git a/.azure-pipelines/pipelines.yml b/.azure-pipelines/pipelines.yml index 82607ed96..ae06c447f 100644 --- a/.azure-pipelines/pipelines.yml +++ b/.azure-pipelines/pipelines.yml @@ -51,16 +51,20 @@ stages: echo "File ls testlogs:" ls -l bazel-testlogs BAZEL_OUT=$(readlink bazel-testlogs) + echo "Listing docker cotnainers" + docker ps + CONTAINER_ID=$(docker ps -aqf "name=envoy_ci") + # Copy the testlogs directory to the host + docker cp $CONTAINER_ID:$BAZEL_OUT $(Build.SourcesDirectory) echo "readlink" - ls -l $BAZEL_OUT - echo "##vso[task.setvariable variable=TARGET_LOG_PATH]$BAZEL_OUT" + ls -l condition: always() displayName: "ls" - task: PublishPipelineArtifact@1 condition: always() displayName: 'Publish Benchmark Test Log' inputs: - targetPath: $(TARGET_LOG_PATH)/benchmarks/test_dynamic_benchmarks/test.log + targetPath: $(Build.SourcesDirectory)/testlogs artifactName: BenchmarkTestLog-$(System.JobAttempt) - stage: test_gcc