Publish Logs as Artifacts
Explore how to publish logs from your automated test runs as artifacts in Azure DevOps pipelines. This lesson helps you understand artifact creation, management, and how to access logs after pipeline execution to aid in test result analysis and troubleshooting.
We know where the logs are located during the pipeline execution:
$(System.DefaultWorkingDirectory)/target/logs
To access them after the pipeline finishes executing, the logs have to be published first by the pipeline as an artifact.
What exactly is an artifact?
An artifact is an output of a pipeline that can be used by another pipeline or by a user. Examples of artifacts are logs, screenshots, and reports.
How can an artifact be generated?
An artifact can be generated by adding a ...