Everyone is interested in viewing the artifacts, such as logs and execution reports after the pipeline execution is complete.
Use the following lines of code in the YAML file to upload the artifacts after the execution.
$(System.DefaultWorkingDirectory) -- is the current project directory
- task: PublishBuildArtifacts@1
condition: always()
inputs:
pathToPublish: $(System.DefaultWorkingDirectory)\logs
artifactName: Your artifact name
displayName: provide your display name