Skip to content

Commit

Permalink
bring back step
Browse files Browse the repository at this point in the history
  • Loading branch information
timmy-wright committed Jan 16, 2025
1 parent 900495c commit ee07425
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pipelines/templates/e2e-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- bash: |
set -ex
LOGGING_DIR="scenario-logs-$(date +%s)"
mkdir -p "$(System.DefaultWorkingDirectory)/e2e/$(LOGGING_DIR)"
echo "setting logging dir to $LOGGING_DIR"
echo "##vso[task.setvariable variable=LOGGING_DIR]$LOGGING_DIR"
displayName: Set logging directory
Expand All @@ -45,6 +44,12 @@ jobs:
env:
VHD_BUILD_ID: $(VHD_BUILD_ID)
LOGGING_DIR: $(LOGGING_DIR)
# Without this step next step may fail on successful run
- bash: |
set -ex
mkdir -p "$(System.DefaultWorkingDirectory)/e2e/$(LOGGING_DIR)"
condition: always()
displayName: Create folder for scenario logs
- task: PublishTestResults@2
displayName: Upload test results
condition: succeededOrFailed()
Expand Down

0 comments on commit ee07425

Please sign in to comment.